Vector3 Properties

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

The Vector3 type exposes the following members.

Properties

  NameDescription
Public propertyItem
Public propertyStatic memberRandomUnit
Returns a unit vector pointing in a random direction on the X and Y axes.
Public propertyStatic memberRandomUnit2D
Returns a unit vector pointing in a random direction on the X and Y axes.
Public propertyStatic memberRelativeBack
Returns the relative Back vector. (0,-1,0)
Public propertyStatic memberRelativeBottom
Returns the relative Bottom vector. (0,0,-1)
Public propertyStatic memberRelativeFront
Returns the relative Front vector. (0,1,0)
Public propertyStatic memberRelativeLeft
Returns the relative Left vector. (-1,0,0)
Public propertyStatic memberRelativeRight
Returns the relative Right vector. (1,0,0)
Public propertyStatic memberRelativeTop
Returns the relative Top vector. (0,0,1)
Public propertyStatic memberSizeInBytes
Gets the size of the Vector3 type, in bytes.
Public propertyStatic memberUnitX
Gets the X unit Vector3 (1, 0, 0).
Public propertyStatic memberUnitY
Gets the Y unit Vector3 (0, 1, 0).
Public propertyStatic memberUnitZ
Gets the Z unit Vector3 (0, 0, 1).
Public propertyStatic memberWorldDown
Returns the world Down vector. (0,0,-1)
Public propertyStatic memberWorldEast
Returns the world East vector. (1,0,0)
Public propertyStatic memberWorldNorth
Returns the world North vector. (0,1,0)
Public propertyStatic memberWorldSouth
Returns the world South vector. (0,-1,0)
Public propertyStatic memberWorldUp
Returns the world Up vector. (0,0,1)
Public propertyStatic memberWorldWest
Returns the world West vector. (-1,0,0)
Public propertyStatic memberZero
Gets a Vector3 with all of its components set to zero.
Top
See Also

Reference