Click or drag to resize

Vector4D Methods

The Vector4D type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAdd
Adds two vectors.
Public methodStatic memberAngle
Returns the angle (in degrees) between two vectors.
Public methodStatic memberDivide
Divides a vector by a number.
Public methodStatic memberDot
Returns the dot product of two vectors.
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Overrides ValueTypeEquals(Object).)
Public methodStatic memberEquals(Vector4D, Vector4D)
Specifies whether two vectors are approximately equal.
Public methodGetHashCode
Returns the hash code of the current object.
(Overrides ValueTypeGetHashCode.)
Public methodGetType (Inherited from Object.)
Public methodStatic memberLerp
Linearly interpolates between two vectors by t.
Public methodStatic memberMultiply(Single, Vector4D)
Multiplies a vector by a number.
Public methodStatic memberMultiply(Vector4D, Vector3D)
Multiplies the given rotation around the given point.
Public methodStatic memberMultiply(Vector4D, Vector4D)
Multiplies a vector with another vector.
Public methodStatic memberMultiply(Vector4D, Single)
Multiplies a vector by a number.
Public methodStatic memberNegate
Negates every component of the specified vector.
Public methodNormalize
Makes the current vector have a magnitude of 1.
Public methodStatic memberNormalize(Vector4D)
Makes the specified vector have a magnitude of 1.
Public methodSet
Sets the X, Y, Z, and W components of the current vector.
Public methodStatic memberSubtract
Subtracts the second vector from the first vector.
Public methodToString
Returns a string representation of the current object.
(Overrides ValueTypeToString.)
Top
Extension Methods
  NameDescription
Public Extension MethodToStringDetailed
Displays the current vector as a detailed string.
(Defined by UnityExtensions.)
Public Extension MethodToVector4
Converts the current LightBuzz 4D vector into its equivalent Microsoft Vector4.
(Defined by Kinect2Extensions.)
Top
See Also