PocketMine-MP 5.42.1 git-d77520d210fcb967a02bc11817ad625393c8ebc6
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, private string $splineIdentifier, private bool $loadFromJson)
 
 getCurve ()
 
 getEaseType ()
 
 getProgressKeyFrames ()
 
 getRotationOptions ()
 
 getSplineIdentifier ()
 
 getTotalTime ()
 
 isLoadFromJson ()
 
 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,
private string $splineIdentifier,
private bool $loadFromJson )
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 55 of file CameraSplineInstruction.php.

◆ getEaseType()

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

Definition at line 50 of file CameraSplineInstruction.php.

◆ getProgressKeyFrames()

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

Definition at line 60 of file CameraSplineInstruction.php.

◆ getRotationOptions()

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

Definition at line 65 of file CameraSplineInstruction.php.

◆ getSplineIdentifier()

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

Definition at line 67 of file CameraSplineInstruction.php.

◆ getTotalTime()

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

Definition at line 45 of file CameraSplineInstruction.php.

◆ isLoadFromJson()

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

Definition at line 69 of file CameraSplineInstruction.php.

◆ read()

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

Definition at line 71 of file CameraSplineInstruction.php.

◆ write()

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

Definition at line 99 of file CameraSplineInstruction.php.


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