﻿Vector4D Methods  # Vector4D Methods

The Vector4D type exposes the following members. Methods
NameDescription  Add  Angle
Returns the angle (in degrees) between two vectors.  Divide
Divides a vector by a number.  Dot
Returns the dot product of two vectors. Equals(Object)
Determines whether the specified object is equal to the current object.
(Overrides ValueTypeEquals(Object).)  Equals(Vector4D, Vector4D)
Specifies whether two vectors are approximately equal. GetHashCode
Returns the hash code of the current object.
(Overrides ValueTypeGetHashCode.) GetType (Inherited from Object.)  Lerp
Linearly interpolates between two vectors by t.  Multiply(Single, Vector4D)
Multiplies a vector by a number.  Multiply(Vector4D, Vector3D)
Multiplies the given rotation around the given point.  Multiply(Vector4D, Vector4D)
Multiplies a vector with another vector.  Multiply(Vector4D, Single)
Multiplies a vector by a number.  Negate
Negates every component of the specified vector. Normalize
Makes the current vector have a magnitude of 1.  Normalize(Vector4D)
Makes the specified vector have a magnitude of 1. Set
Sets the X, Y, Z, and W components of the current vector.  Subtract
Subtracts the second vector from the first vector. ToString
Returns a string representation of the current object.
(Overrides ValueTypeToString.)
Top Extension Methods
NameDescription ToStringDetailed
Displays the current vector as a detailed string.
(Defined by UnityExtensions.) ToVector4
Converts the current LightBuzz 4D vector into its equivalent Microsoft Vector4.
(Defined by Kinect2Extensions.)
Top See Also