Click or drag to resize

Vector3D Methods

The Vector3D type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAdd
Adds two vectors.
Public methodAngle(Vector3D)
Returns the angle (in degrees) between the current and the specified vector.
Public methodStatic memberAngle(Vector3D, Vector3D)
Returns the angle (in degrees) between two vectors.
Public methodStatic memberCross
Returns the cross product of two vectors.
Public methodDistance(Vector3D)
Returns the distance between the current vector and the specified vector.
Public methodStatic memberDistance(Vector3D, Vector3D)
Returns the distance 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(Vector3D, Vector3D)
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 memberMax
Returns the vector with the maximum length.
Public methodStatic memberMin
Returns the vector with the minimum length.
Public methodStatic memberMultiply(Single, Vector3D)
Multiplies a vector by a number.
Public methodStatic memberMultiply(Vector3D, Single)
Multiplies a vector by a number.
Public methodNegate
Negates every component of the current vector.
Public methodStatic memberNegate(Vector3D)
Negates every component of the specified vector.
Public methodNormalize
Makes the current vector have a magnitude of 1.
Public methodStatic memberNormalize(Vector3D)
Makes the specified vector have a magnitude of 1.
Public methodStatic memberPitch
Pitch.
Public methodStatic memberRoll
Roll.
Public methodSet
Sets the X, Y and Z 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.)
Public methodStatic memberYaw
Yaw.
Top
Extension Methods
  NameDescription
Public Extension MethodToCameraSpacePoint
Converts the current LightBuzz 3D vector into its equivalent Microsoft CameraSpacePoint.
(Defined by Kinect2Extensions.)
Public Extension MethodToStringDetailed
Displays the current vector as a detailed string.
(Defined by UnityExtensions.)
Public Extension MethodToVector3
Converts the current LightBuzz vector to a Nuitrack vector.
(Defined by NuitrackExtensions.)
Top
See Also