PocketMine-MP 5.11.1 git-db894e3a4a5bb9a80b3ac07ac91f58bdaf15176a
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: