PocketMine-MP 5.14.2 git-50e2c469a547a16a23b2dc691e70a51d34e29395
pocketmine\entity\EntitySizeInfo Class Reference
+ Collaboration diagram for pocketmine\entity\EntitySizeInfo:

Public Member Functions

 __construct (private float $height, private float $width, ?float $eyeHeight=null)
 
 getEyeHeight ()
 
 getHeight ()
 
 getWidth ()
 
 scale (float $newScale)
 

Detailed Description

Definition at line 28 of file EntitySizeInfo.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\entity\EntitySizeInfo::__construct ( private float  $height,
private float  $width,
?float  $eyeHeight = null 
)

Definition at line 31 of file EntitySizeInfo.php.

Member Function Documentation

◆ getEyeHeight()

pocketmine\entity\EntitySizeInfo::getEyeHeight ( )

Definition at line 43 of file EntitySizeInfo.php.

◆ getHeight()

pocketmine\entity\EntitySizeInfo::getHeight ( )

Definition at line 39 of file EntitySizeInfo.php.

◆ getWidth()

pocketmine\entity\EntitySizeInfo::getWidth ( )

Definition at line 41 of file EntitySizeInfo.php.

◆ scale()

pocketmine\entity\EntitySizeInfo::scale ( float  $newScale)

Definition at line 45 of file EntitySizeInfo.php.


The documentation for this class was generated from the following file: