Internal
Internal
_xInternal
_yInternal
_zStatic
Readonly
Internal
_oneStatic
Readonly
Internal
_zeroThe x component of the vector.
The y component of the vector.
The z component of the vector.
This vector performs a transformation using the given quaternion.
This vector
The transform quaternion
This vector performs a coordinate transformation using the given 4x4 matrix.
A coordinate transform performs the transformation with the assumption that the w component is one. The four dimensional vector obtained from the transformation operation has each component in the vector divided by the w component. This forces the w-component to be one and therefore makes the vector homogeneous. The homogeneous vector is often preferred when working with coordinates as the w component can safely be ignored.
This vector
The transform matrix
This vector performs a normal transformation using the given 4x4 matrix.
A normal transform performs the transformation with the assumption that the w component is zero. This causes the fourth row and fourth column of the matrix to be unused. The end result is a vector that is not translated, but all other transformation properties apply. This is often preferred for normal vectors as normals purely represent direction rather than location because normal vectors should not be translated.
This vector
The transform matrix
Static
addStatic
crossStatic
distanceStatic
distanceStatic
divideStatic
dotStatic
equalsStatic
lerpStatic
maxStatic
minStatic
multiplyStatic
negateStatic
normalizeStatic
scaleStatic
subtractStatic
transformPerforms a transformation using the given quaternion.
The vector to transform
The transform quaternion
The transformed vector
Static
transformPerforms a coordinate transformation using the given 4x4 matrix.
A coordinate transform performs the transformation with the assumption that the w component is one. The four dimensional vector obtained from the transformation operation has each component in the vector divided by the w component. This forces the w-component to be one and therefore makes the vector homogeneous. The homogeneous vector is often preferred when working with coordinates as the w component can safely be ignored.
Static
transformPerforms a normal transformation using the given 4x4 matrix.
A normal transform performs the transformation with the assumption that the w component is zero. This causes the fourth row and fourth column of the matrix to be unused. The end result is a vector that is not translated, but all other transformation properties apply. This is often preferred for normal vectors as normals purely represent direction rather than location because normal vectors should not be translated.
Static
transformStatic
transformGenerated using TypeDoc
Describes a 3D-vector.