PocketMine-MP 5.16.1 git-585aee9386a787c95e73dd0a05ffca8329606b68
pocketmine\network\mcpe\protocol\types\camera\CameraSetInstruction Class Reference
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\camera\CameraSetInstruction:

Public Member Functions

 __construct (private int $preset, private ?CameraSetInstructionEase $ease, private ?Vector3 $cameraPosition, private ?CameraSetInstructionRotation $rotation, private ?Vector3 $facingPosition, private ?bool $default)
 
 getCameraPosition ()
 
 getDefault ()
 
 getEase ()
 
 getFacingPosition ()
 
 getPreset ()
 
 getRotation ()
 
 write (PacketSerializer $out)
 

Static Public Member Functions

static read (PacketSerializer $in)
 

Detailed Description

Definition at line 20 of file CameraSetInstruction.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\camera\CameraSetInstruction::__construct ( private int  $preset,
private ?CameraSetInstructionEase  $ease,
private ?Vector3  $cameraPosition,
private ?CameraSetInstructionRotation  $rotation,
private ?Vector3  $facingPosition,
private ?bool  $default 
)

Definition at line 22 of file CameraSetInstruction.php.

Member Function Documentation

◆ getCameraPosition()

pocketmine\network\mcpe\protocol\types\camera\CameraSetInstruction::getCameraPosition ( )

Definition at line 35 of file CameraSetInstruction.php.

◆ getDefault()

pocketmine\network\mcpe\protocol\types\camera\CameraSetInstruction::getDefault ( )

Definition at line 41 of file CameraSetInstruction.php.

◆ getEase()

pocketmine\network\mcpe\protocol\types\camera\CameraSetInstruction::getEase ( )

Definition at line 33 of file CameraSetInstruction.php.

◆ getFacingPosition()

pocketmine\network\mcpe\protocol\types\camera\CameraSetInstruction::getFacingPosition ( )

Definition at line 39 of file CameraSetInstruction.php.

◆ getPreset()

pocketmine\network\mcpe\protocol\types\camera\CameraSetInstruction::getPreset ( )

Definition at line 31 of file CameraSetInstruction.php.

◆ getRotation()

pocketmine\network\mcpe\protocol\types\camera\CameraSetInstruction::getRotation ( )

Definition at line 37 of file CameraSetInstruction.php.

◆ read()

static pocketmine\network\mcpe\protocol\types\camera\CameraSetInstruction::read ( PacketSerializer  $in)
static

Definition at line 43 of file CameraSetInstruction.php.

◆ write()

pocketmine\network\mcpe\protocol\types\camera\CameraSetInstruction::write ( PacketSerializer  $out)

Definition at line 61 of file CameraSetInstruction.php.


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