﻿Vector3D Methods

# Vector3D Methods

The Vector3D type exposes the following members.

Methods
NameDescription
Angle(Vector3D)
Returns the angle (in degrees) between the current and the specified vector.
Angle(Vector3D, Vector3D)
Returns the angle (in degrees) between two vectors.
Cross
Returns the cross product of two vectors.
Distance(Vector3D)
Returns the distance between the current vector and the specified vector.
Distance(Vector3D, Vector3D)
Returns the distance 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(Vector3D, Vector3D)
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.
Max
Returns the vector with the maximum length.
Min
Returns the vector with the minimum length.
Multiply(Single, Vector3D)
Multiplies a vector by a number.
Multiply(Vector3D, Single)
Multiplies a vector by a number.
Negate
Negates every component of the current vector.
Negate(Vector3D)
Negates every component of the specified vector.
Normalize
Makes the current vector have a magnitude of 1.
Normalize(Vector3D)
Makes the specified vector have a magnitude of 1.
Pitch
Pitch.
Roll
Roll.
Set
Sets the X, Y and Z 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.)
Yaw
Yaw.
Top
Extension Methods
NameDescription
ToCameraSpacePoint
Converts the current LightBuzz 3D vector into its equivalent Microsoft CameraSpacePoint.
(Defined by Kinect2Extensions.)
ToStringDetailed
Displays the current vector as a detailed string.
(Defined by UnityExtensions.)
ToVector3
Converts the current LightBuzz vector to a Nuitrack vector.
(Defined by NuitrackExtensions.)
Top