Method |
Description |
|
__construct ( $x, $y, $z ) |
|
|
__toString ( ) |
|
|
abs ( ) |
|
|
add ( Vector3 | integer $x, integer $y, integer $z ) : Vector3 |
|
|
ceil ( ) |
|
|
createRandomDirection ( Random $random ) |
|
|
cross ( Vector3 $v ) |
|
|
distance ( Vector3 $pos ) |
|
|
distanceSquared ( Vector3 $pos ) |
|
|
divide ( $number ) |
|
|
dot ( Vector3 $v ) |
|
|
equals ( Vector3 $v ) |
|
|
floor ( ) |
|
|
fromObjectAdd ( Vector3 $pos, $x, $y, $z ) |
|
|
getFloorX ( ) |
|
|
getFloorY ( ) |
|
|
getFloorZ ( ) |
|
|
getForward ( ) |
|
|
getIntermediateWithXValue ( Vector3 $v, float $x ) : Vector3 |
Returns a new vector with x value equal to the second parameter, along the line between this vector and the
passed in vector, or null if not possible. |
|
getIntermediateWithYValue ( Vector3 $v, float $y ) : Vector3 |
Returns a new vector with y value equal to the second parameter, along the line between this vector and the
passed in vector, or null if not possible. |
|
getIntermediateWithZValue ( Vector3 $v, float $z ) : Vector3 |
Returns a new vector with z value equal to the second parameter, along the line between this vector and the
passed in vector, or null if not possible. |
|
getOppositeSide ( $side ) |
|
|
getRight ( ) |
|
|
getSide ( $side, $step = 1 ) |
|
|
getSouth ( ) |
|
|
getUp ( ) |
|
|
getWest ( ) |
|
|
getX ( ) |
|
|
getY ( ) |
|
|
getZ ( ) |
|
|
length ( ) |
|
|
lengthSquared ( ) |
|
|
maxPlainDistance ( $x, $z ) |
|
|
multiply ( $number ) |
|
|
normalize ( ) : Vector3 |
|
|
round ( ) |
|
|
setComponents ( $x, $y, $z ) : Vector3 |
|
|
subtract ( Vector3 | integer $x, integer $y, integer $z ) : Vector3 |
|
|