RayTraceResult
in package
Class representing a ray trace collision with an AxisAlignedBB
Table of Contents
- $bb : AxisAlignedBB
- $hitFace : int
- $hitVector : Vector3
- __construct() : mixed
- getBoundingBox() : AxisAlignedBB
- getHitFace() : int
- getHitVector() : Vector3
Properties
$bb
public
AxisAlignedBB
$bb
$hitFace
public
int
$hitFace
$hitVector
public
Vector3
$hitVector
Methods
__construct()
public
__construct(AxisAlignedBB $bb, int $hitFace, Vector3 $hitVector) : mixed
Parameters
- $bb : AxisAlignedBB
- $hitFace : int
-
one of the Facing::* constants
- $hitVector : Vector3
Return values
mixed —getBoundingBox()
public
getBoundingBox() : AxisAlignedBB
Return values
AxisAlignedBB —getHitFace()
public
getHitFace() : int
Return values
int —getHitVector()
public
getHitVector() : Vector3