|
|
| Vector3u16 (global::System.IntPtr cPtr, bool cMemoryOwn) |
| |
|
void | Dispose () |
| |
|
| Vector3u16 (params ushort[] values) |
| |
|
override bool | Equals (object obj) |
| |
|
| Vector3u16 () |
| | Create a vector with unitialized values.
|
| |
| | Vector3u16 (VectorXu16 other) |
| | Build a Vector from a VectorX of same type.
|
| |
| | Vector3u16 (VectorXu16 other, ushort padding) |
| | Build a vector from a VectorX of same type.
|
| |
|
| Vector3u16 (Vector3u16 other) |
| |
|
uint | Size () |
| | Returns the size of the vector, which also correspond to vector number of dimension.
|
| |
|
ushort | At (uint index) |
| | Access vector's value at given index.
|
| |
|
void | SetAt (uint index, ushort value) |
| | Set value as given index.
|
| |
| double | SquaredLength () |
| | Returns the vector's norm, squared.
|
| |
| double | Length () |
| | Returns the vector's norm.
|
| |
|
void | Normalize () |
| | Normalize the vector.
|
| |
|
string | ToString () |
| |
|
ushort | Dot (Vector3u16 v) |
| | Dot product of two vectors.
|
| |
| Vector3u16 | Cross (Vector3u16 v) |
| | Cross product of two vectors.
|
| |
|
|
static global::System.Runtime.InteropServices.HandleRef | getCPtr (Vector3u16 obj) |
| |
|
static global::System.Runtime.InteropServices.HandleRef | swigRelease (Vector3u16 obj) |
| |
|
static bool | operator== (Vector3u16 v1, Vector3u16 v2) |
| |
|
static bool | operator!= (Vector3u16 v1, Vector3u16 v2) |
| |
|
static Vector3u16 | operator+ (Vector3u16 v1, Vector3u16 v2) |
| |
|
static Vector3u16 | operator- (Vector3u16 v1, Vector3u16 v2) |
| |
|
static Vector3u16 | operator* (Vector3u16 v, ushort value) |
| |
|
static Vector3u16 | operator* (ushort value, Vector3u16 v) |
| |
|
static Vector3u16 | operator/ (Vector3u16 v, ushort value) |
| |
|
static Vector3u16 | operator* (Vector3u16 v1, Vector3u16 v2) |
| |
|
static Vector3u16 | operator/ (Vector3u16 v1, Vector3u16 v2) |
| |
|
static bool | operator< (Vector3u16 v1, Vector3u16 v2) |
| |
|
static bool | operator<= (Vector3u16 v1, Vector3u16 v2) |
| |
|
static bool | operator> (Vector3u16 v1, Vector3u16 v2) |
| |
|
static bool | operator>= (Vector3u16 v1, Vector3u16 v2) |
| |
| static Vector3u16 | CreateUniform (ushort value) |
| | Create a vector with the given value for all components.
|
| |
|
static Vector3u16 | InternalDivides (Vector3u16 v, ushort value) |
| |
|
static Vector3u16 | InternalDivides (Vector3u16 v1, Vector3u16 v2) |
| |
|
static bool | InternalLess (Vector3u16 v1, Vector3u16 v2) |
| |
|
static bool | InternalLessEqual (Vector3u16 v1, Vector3u16 v2) |
| |
|
static bool | InternalGreater (Vector3u16 v1, Vector3u16 v2) |
| |
|
static bool | InternalGreaterEqual (Vector3u16 v1, Vector3u16 v2) |
| |
An arithmetic vector.
- Parameters
-
| T | The type wrote in the vector. |
| N | The size, or number of dimension of the vector. |
Aliases can be used to made this class more practical to use. They use the following convention: VectorNX Where N is the size and X the type. The types currently available are:
- U8 and I8 respectively for unsigned and signed 8bits integers.
- U16 and I16 respectively for unsigned and signed 16bits integers.
- U32 and I32 respectively for unsigned and signed 32bits integers.
- U64 and I64 respectively for unsigned and signed 64bits integers.
- F for single precision floats.
- D for double precision floats.
Examples:
- Vector2i32: 2 dimensional 32bits signed integer.
- Vector3f: 3 dimensionnal single precision float.