|
| __construct (private string $name, private string $parent, private ?float $xPosition, private ?float $yPosition, private ?float $zPosition, private ?float $pitch, private ?float $yaw, private ?float $rotationSpeed, private ?bool $snapToTarget, private ?Vector2 $horizontalRotationLimit, private ?Vector2 $verticalRotationLimit, private ?bool $continueTargeting, private ?float $blockListeningRadius, private ?Vector2 $viewOffset, private ?Vector3 $entityOffset, private ?float $radius, private ?float $yawLimitMin, private ?float $yawLimitMax, private ?int $audioListenerType, private ?bool $playerEffects, private ?bool $alignTargetAndCameraForward, private ?CameraPresetAimAssist $aimAssist,) |
|
| getAimAssist () |
|
| getAlignTargetAndCameraForward () |
|
| getAudioListenerType () |
|
| getBlockListeningRadius () |
|
| getContinueTargeting () |
|
| getEntityOffset () |
|
| getHorizontalRotationLimit () |
|
| getName () |
|
| getParent () |
|
| getPitch () |
|
| getPlayerEffects () |
|
| getRadius () |
|
| getRotationSpeed () |
|
| getSnapToTarget () |
|
| getVerticalRotationLimit () |
|
| getViewOffset () |
|
| getXPosition () |
|
| getYaw () |
|
| getYawLimitMax () |
|
| getYawLimitMin () |
|
| getYPosition () |
|
| getZPosition () |
|
| write (PacketSerializer $out) |
|
Definition at line 21 of file CameraPreset.php.
◆ __construct()
pocketmine\network\mcpe\protocol\types\camera\CameraPreset::__construct |
( |
private string | $name, |
|
|
private string | $parent, |
|
|
private ?float | $xPosition, |
|
|
private ?float | $yPosition, |
|
|
private ?float | $zPosition, |
|
|
private ?float | $pitch, |
|
|
private ?float | $yaw, |
|
|
private ?float | $rotationSpeed, |
|
|
private ?bool | $snapToTarget, |
|
|
private ?Vector2 | $horizontalRotationLimit, |
|
|
private ?Vector2 | $verticalRotationLimit, |
|
|
private ?bool | $continueTargeting, |
|
|
private ?float | $blockListeningRadius, |
|
|
private ?Vector2 | $viewOffset, |
|
|
private ?Vector3 | $entityOffset, |
|
|
private ?float | $radius, |
|
|
private ?float | $yawLimitMin, |
|
|
private ?float | $yawLimitMax, |
|
|
private ?int | $audioListenerType, |
|
|
private ?bool | $playerEffects, |
|
|
private ?bool | $alignTargetAndCameraForward, |
|
|
private ?CameraPresetAimAssist | $aimAssist ) |
◆ getAimAssist()
pocketmine\network\mcpe\protocol\types\camera\CameraPreset::getAimAssist |
( |
| ) |
|
◆ getAlignTargetAndCameraForward()
pocketmine\network\mcpe\protocol\types\camera\CameraPreset::getAlignTargetAndCameraForward |
( |
| ) |
|
◆ getAudioListenerType()
pocketmine\network\mcpe\protocol\types\camera\CameraPreset::getAudioListenerType |
( |
| ) |
|
◆ getBlockListeningRadius()
pocketmine\network\mcpe\protocol\types\camera\CameraPreset::getBlockListeningRadius |
( |
| ) |
|
◆ getContinueTargeting()
pocketmine\network\mcpe\protocol\types\camera\CameraPreset::getContinueTargeting |
( |
| ) |
|
◆ getEntityOffset()
pocketmine\network\mcpe\protocol\types\camera\CameraPreset::getEntityOffset |
( |
| ) |
|
◆ getHorizontalRotationLimit()
pocketmine\network\mcpe\protocol\types\camera\CameraPreset::getHorizontalRotationLimit |
( |
| ) |
|
◆ getName()
pocketmine\network\mcpe\protocol\types\camera\CameraPreset::getName |
( |
| ) |
|
◆ getParent()
pocketmine\network\mcpe\protocol\types\camera\CameraPreset::getParent |
( |
| ) |
|
◆ getPitch()
pocketmine\network\mcpe\protocol\types\camera\CameraPreset::getPitch |
( |
| ) |
|
◆ getPlayerEffects()
pocketmine\network\mcpe\protocol\types\camera\CameraPreset::getPlayerEffects |
( |
| ) |
|
◆ getRadius()
pocketmine\network\mcpe\protocol\types\camera\CameraPreset::getRadius |
( |
| ) |
|
◆ getRotationSpeed()
pocketmine\network\mcpe\protocol\types\camera\CameraPreset::getRotationSpeed |
( |
| ) |
|
◆ getSnapToTarget()
pocketmine\network\mcpe\protocol\types\camera\CameraPreset::getSnapToTarget |
( |
| ) |
|
◆ getVerticalRotationLimit()
pocketmine\network\mcpe\protocol\types\camera\CameraPreset::getVerticalRotationLimit |
( |
| ) |
|
◆ getViewOffset()
pocketmine\network\mcpe\protocol\types\camera\CameraPreset::getViewOffset |
( |
| ) |
|
◆ getXPosition()
pocketmine\network\mcpe\protocol\types\camera\CameraPreset::getXPosition |
( |
| ) |
|
◆ getYaw()
pocketmine\network\mcpe\protocol\types\camera\CameraPreset::getYaw |
( |
| ) |
|
◆ getYawLimitMax()
pocketmine\network\mcpe\protocol\types\camera\CameraPreset::getYawLimitMax |
( |
| ) |
|
◆ getYawLimitMin()
pocketmine\network\mcpe\protocol\types\camera\CameraPreset::getYawLimitMin |
( |
| ) |
|
◆ getYPosition()
pocketmine\network\mcpe\protocol\types\camera\CameraPreset::getYPosition |
( |
| ) |
|
◆ getZPosition()
pocketmine\network\mcpe\protocol\types\camera\CameraPreset::getZPosition |
( |
| ) |
|
◆ read()
static pocketmine\network\mcpe\protocol\types\camera\CameraPreset::read |
( |
PacketSerializer | $in | ) |
|
|
static |
◆ write()
pocketmine\network\mcpe\protocol\types\camera\CameraPreset::write |
( |
PacketSerializer | $out | ) |
|
◆ AUDIO_LISTENER_TYPE_CAMERA
const pocketmine\network\mcpe\protocol\types\camera\CameraPreset::AUDIO_LISTENER_TYPE_CAMERA = 0 |
◆ AUDIO_LISTENER_TYPE_PLAYER
const pocketmine\network\mcpe\protocol\types\camera\CameraPreset::AUDIO_LISTENER_TYPE_PLAYER = 1 |
The documentation for this class was generated from the following file: