Location
Extends Position
Properties
$pitch
php
public float $pitch$yaw
php
public float $yawMethods
__construct()
php
public function __construct(float $x, float $y, float $z, ?\pocketmine\world\World $world, float $yaw, float $pitch)__toString()
php
public function __toString()asLocation()
php
public function asLocation() : \pocketmine\entity\LocationReturn a Location instance
equals()
php
public function equals(\pocketmine\math\Vector3 $v) : boolfromObject()
php
public static function fromObject(\pocketmine\math\Vector3 $pos, ?\pocketmine\world\World $world, float $yaw = 0.0, float $pitch = 0.0)getPitch()
php
public function getPitch() : floatgetYaw()
php
public function getYaw() : float