[This is preliminary documentation and is subject to change.]
The Vector3 type exposes the following members.
Properties
Name | Description | |
---|---|---|
Item | ||
RandomUnit |
Returns a unit vector pointing in a random direction on the X and Y axes.
| |
RandomUnit2D |
Returns a unit vector pointing in a random direction on the X and Y axes.
| |
RelativeBack |
Returns the relative Back vector. (0,-1,0)
| |
RelativeBottom |
Returns the relative Bottom vector. (0,0,-1)
| |
RelativeFront |
Returns the relative Front vector. (0,1,0)
| |
RelativeLeft |
Returns the relative Left vector. (-1,0,0)
| |
RelativeRight |
Returns the relative Right vector. (1,0,0)
| |
RelativeTop |
Returns the relative Top vector. (0,0,1)
| |
SizeInBytes |
Gets the size of the Vector3 type, in bytes.
| |
UnitX |
Gets the X unit Vector3 (1, 0, 0).
| |
UnitY |
Gets the Y unit Vector3 (0, 1, 0).
| |
UnitZ |
Gets the Z unit Vector3 (0, 0, 1).
| |
WorldDown |
Returns the world Down vector. (0,0,-1)
| |
WorldEast |
Returns the world East vector. (1,0,0)
| |
WorldNorth |
Returns the world North vector. (0,1,0)
| |
WorldSouth |
Returns the world South vector. (0,-1,0)
| |
WorldUp |
Returns the world Up vector. (0,0,1)
| |
WorldWest |
Returns the world West vector. (-1,0,0)
| |
Zero |
Gets a Vector3 with all of its components set to zero.
|
See Also