Strutture
Vector
Un Vector composto dalle componenti (X, Y, Z) con precisione in virgola mobile. Usato soprattutto per la posizione delle entità.
Mostra l'originale in inglese
A Vector composed of components (X, Y, Z) with floating point precision. Used mainly for entity position.
24 propri
Costruttori 1
Proprietà 3
Funzioni 15
- Cross Cross product of two vectors
- Distance Distance between two points
- DistanceSquared Squared distance between two points
- Dot Dot product of two vectors
- Equals Check against another vector for equality, within specified error limits
- GetSafeNormal Gets a normalized copy of the vector, checking it is safe to do so based on the length
- GetUnsafeNormal Calculates normalized version of vector without checking for zero length
- IsNear Efficiently checks whether vector is near to another vector within a specified radius
- IsNearlyZero Checks whether vector is near to zero within a specified tolerance
- IsZero Checks whether all components of the vector are exactly zero
- Normalize Normalize this vector in-place if it is larger than a given tolerance. Leaves it unchanged if not
- Size Get the length (magnitude) of this vector
- SizeSquared Get the squared length of this vector
- ToOrientationQuat Return the Quaternion orientation corresponding to the direction in which the vector points
- ToOrientationRotator Return the Rotator orientation corresponding to the direction in which the vector points