PocketMine-MP 5.41.1 git-1fdcd84ac370f78f6cf778d111a22a07002b31ef
Loading...
Searching...
No Matches
pocketmine\network\mcpe\protocol\types\camera\CameraSplineInstruction Class Reference
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\camera\CameraSplineInstruction:

Public Member Functions

 __construct (private float $totalTime, private int $easeType, private array $curve, private array $progressKeyFrames, private array $rotationOptions,)
 
 getCurve ()
 
 getEaseType ()
 
 getProgressKeyFrames ()
 
 getRotationOptions ()
 
 getTotalTime ()
 
 write (ByteBufferWriter $out)
 

Static Public Member Functions

static read (ByteBufferReader $in)
 

Detailed Description

Definition at line 26 of file CameraSplineInstruction.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\camera\CameraSplineInstruction::__construct ( private float $totalTime,
private int $easeType,
private array $curve,
private array $progressKeyFrames,
private array $rotationOptions )
See also
CameraSetInstructionEaseType
Parameters
Vector3[]$curve
CameraProgressOption[]$progressKeyFrames
CameraRotationOption[]$rotationOptions

Definition at line 35 of file CameraSplineInstruction.php.

Member Function Documentation

◆ getCurve()

pocketmine\network\mcpe\protocol\types\camera\CameraSplineInstruction::getCurve ( )
Returns
Vector3[]

Definition at line 53 of file CameraSplineInstruction.php.

◆ getEaseType()

pocketmine\network\mcpe\protocol\types\camera\CameraSplineInstruction::getEaseType ( )
See also
CameraSetInstructionEaseType

Definition at line 48 of file CameraSplineInstruction.php.

◆ getProgressKeyFrames()

pocketmine\network\mcpe\protocol\types\camera\CameraSplineInstruction::getProgressKeyFrames ( )
Returns
CameraProgressOption[]

Definition at line 58 of file CameraSplineInstruction.php.

◆ getRotationOptions()

pocketmine\network\mcpe\protocol\types\camera\CameraSplineInstruction::getRotationOptions ( )
Returns
CameraRotationOption[]

Definition at line 63 of file CameraSplineInstruction.php.

◆ getTotalTime()

pocketmine\network\mcpe\protocol\types\camera\CameraSplineInstruction::getTotalTime ( )

Definition at line 43 of file CameraSplineInstruction.php.

◆ read()

static pocketmine\network\mcpe\protocol\types\camera\CameraSplineInstruction::read ( ByteBufferReader $in)
static

Definition at line 65 of file CameraSplineInstruction.php.

◆ write()

pocketmine\network\mcpe\protocol\types\camera\CameraSplineInstruction::write ( ByteBufferWriter $out)

Definition at line 90 of file CameraSplineInstruction.php.


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