Vector3D Structure |
Namespace: LightBuzz
The Vector3D type exposes the following members.
Name | Description | |
---|---|---|
![]() | Vector3D(Single, Single) |
Constructs a new vector with given X and Y components.
|
![]() | Vector3D(Single, Single, Single) |
Constructs a new vector with given X, Y, and Z components.
|
Name | Description | |
---|---|---|
![]() | Item |
Access the X, Y, Z components of the vector using [0], [1], [2] respectively.
|
![]() | Length |
Returns the length of the current vector.
|
![]() | LengthSquared |
Returns the squared length of the current vector.
|
![]() | Magnitude |
Returns the length of the current vector.
|
![]() | MagnitudeSquared |
Returns the squared length of the current vector.
|
![]() | Normalized |
Returns the current vector with a length of 1.
|
Name | Description | |
---|---|---|
![]() ![]() | Add |
Adds two vectors.
|
![]() | 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.
|
Name | Description | |
---|---|---|
![]() ![]() | Addition |
Adds two vectors.
|
![]() ![]() | Division |
Divides a vector by a number.
|
![]() ![]() | Equality |
Compares two vectors for equality.
|
![]() ![]() | GreaterThan |
Compares the lengths of two vectors.
|
![]() ![]() | GreaterThanOrEqual |
Compares the lengths of two vectors.
|
![]() ![]() | (Vector3 to Vector3D) |
Converts the specified Unity Vector3 into its equivalent 3D vector.
|
![]() ![]() | (Vector2D to Vector3D) |
Converts the specified 2D vector into its equivalent 3D vector.
|
![]() ![]() | (Vector3D to Vector3) |
Converts the specified 3D vector into its equivalent Unity Vector3.
|
![]() ![]() | (Vector4D to Vector3D) |
Converts the specified 4D vector into its equivalent 3D vector.
|
![]() ![]() | Inequality |
Compares two vectors for inequality.
|
![]() ![]() | LessThan |
Compares the lengths of two vectors.
|
![]() ![]() | LessThanOrEqual |
Compares the lengths of two vectors.
|
![]() ![]() | Multiply(Single, Vector3D) |
Multiplies a number by a vector.
|
![]() ![]() | Multiply(Vector3D, Single) |
Multiplies a vector by a number.
|
![]() ![]() | Subtraction |
Subtracts one vector from another.
|
![]() ![]() | UnaryNegation |
Negates a vector.
|
Name | Description | |
---|---|---|
![]() ![]() | Back |
Shorthand for (0, 0, -1).
|
![]() ![]() | Down |
Shorthand for (0, -1, 0).
|
![]() ![]() | Forward |
Shorthand for (0, 0, 1).
|
![]() ![]() | Left |
Shorthand for (-1, 0, 0).
|
![]() ![]() | NegativeInfinity |
Shorthand for (-∞, -∞, -∞).
|
![]() ![]() | One |
Shorthand for (1, 1, 1).
|
![]() ![]() | PositiveInfinity |
Shorthand for (+∞, +∞, +∞).
|
![]() ![]() | Right |
Shorthand for (1, 0, 0).
|
![]() ![]() | Up |
Shorthand for (0, 1, 0).
|
![]() | X |
X component of the vector.
|
![]() | Y |
Y component of the vector.
|
![]() | Z |
Z component of the vector.
|
![]() ![]() | Zero |
Shorthand for (0, 0, 0).
|
Name | Description | |
---|---|---|
![]() | 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.) |