SCNVector4 Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A 4-component vector.
[System.Serializable]
public struct SCNVector4 : IEquatable<SceneKit.SCNVector4>
type SCNVector4 = struct
- Inheritance
-
SCNVector4
- Attributes
- Implements
Constructors
Fields
One |
A vector whose components are each 1. |
SizeInBytes |
The size in bytes of the vector. |
UnitW |
A unit vector along the W axis. |
UnitX |
A unit vector along the W axis. |
UnitY |
A unit vector along the Y axis. |
UnitZ |
A unit vector along the Z axis.. |
W |
Gets or sets the W component. |
X |
Gets or sets the X component. |
Y |
Gets or sets the Y component. |
Z |
Gets or sets the Z component. |
Zero |
The Zero vector. |
Properties
Length |
Gets the length of the vector. |
LengthFast |
Gets the approximate length of the vector by using an approximation of the square root operation. |
LengthSquared |
Gets the sum of the squares of the components of the vector. |
Xy |
Gets or sets the X and Y components. |
Xyz |
Gets or sets the X, Y, and Z components. |
Methods
Add(SCNVector4, SCNVector4, SCNVector4) |
Adds |
Add(SCNVector4, SCNVector4) |
Adds |
BaryCentric(SCNVector4, SCNVector4, SCNVector4, nfloat, nfloat, SCNVector4) | |
BaryCentric(SCNVector4, SCNVector4, SCNVector4, nfloat, nfloat) | |
BaryCentric(SCNVector4, SCNVector4, SCNVector4, Single, Single, SCNVector4) |
Interpolates |
BaryCentric(SCNVector4, SCNVector4, SCNVector4, Single, Single) |
Interpolates |
Clamp(SCNVector4, SCNVector4, SCNVector4, SCNVector4) |
Clamps the components of |
Clamp(SCNVector4, SCNVector4, SCNVector4) |
Clamps the components of |
Div(SCNVector4, nfloat, SCNVector4) | |
Div(SCNVector4, nfloat) | |
Div(SCNVector4, Single, SCNVector4) |
Divides the components of |
Div(SCNVector4, Single) |
Divides the components of |
Divide(SCNVector4, nfloat, SCNVector4) | |
Divide(SCNVector4, nfloat) | |
Divide(SCNVector4, SCNVector4, SCNVector4) |
Performs the componentwise division of |
Divide(SCNVector4, SCNVector4) |
Returns the componentwise division of |
Divide(SCNVector4, Single, SCNVector4) |
Divides the components of |
Divide(SCNVector4, Single) |
Divides the components of |
Dot(SCNVector4, SCNVector4, nfloat) | |
Dot(SCNVector4, SCNVector4, Single) |
Sets |
Dot(SCNVector4, SCNVector4) |
Returns the dot product of |
Equals(Object) |
Returns |
Equals(SCNVector4) |
Returns |
GetHashCode() |
Returns the hashcode for this instance. |
Lerp(SCNVector4, SCNVector4, nfloat, SCNVector4) | |
Lerp(SCNVector4, SCNVector4, nfloat) | |
Lerp(SCNVector4, SCNVector4, Single, SCNVector4) |
Returns the linear interpolation from |
Lerp(SCNVector4, SCNVector4, Single) |
Returns the linear interpolation from |
Max(SCNVector4, SCNVector4, SCNVector4) |
Stores the vector with the larger magnitude in |
Max(SCNVector4, SCNVector4) |
Returns the vector with the larger magnitude. |
Min(SCNVector4, SCNVector4, SCNVector4) |
Stores the vector with the smaller magnitude in |
Min(SCNVector4, SCNVector4) |
Returns the vector with the smaller magnitude. |
Mult(SCNVector4, nfloat, SCNVector4) | |
Mult(SCNVector4, nfloat) | |
Mult(SCNVector4, Single, SCNVector4) |
Multiplies |
Mult(SCNVector4, Single) |
Multiplies |
Multiply(SCNVector4, nfloat, SCNVector4) | |
Multiply(SCNVector4, nfloat) | |
Multiply(SCNVector4, SCNVector4, SCNVector4) |
Multiplies the components of |
Multiply(SCNVector4, SCNVector4) |
Multiplies the components of |
Multiply(SCNVector4, Single, SCNVector4) |
Multiplies |
Multiply(SCNVector4, Single) |
Multiplies |
Normalize() |
Scales this vector to unit length. |
Normalize(SCNVector4, SCNVector4) |
Scales |
Normalize(SCNVector4) |
Scales |
NormalizeFast() |
Scales this vector to approximately unit length. |
NormalizeFast(SCNVector4, SCNVector4) |
Scales |
NormalizeFast(SCNVector4) |
Scales |
Sub(SCNVector4, SCNVector4, SCNVector4) |
Subtracts |
Sub(SCNVector4, SCNVector4) |
Subtracts |
Subtract(SCNVector4, SCNVector4, SCNVector4) |
Subtracts |
Subtract(SCNVector4, SCNVector4) |
Subtracts |
ToString() |
Returns a string representation of this instance. |
Transform(SCNVector4, SCNMatrix4, SCNVector4) |
Returns the transformation of |
Transform(SCNVector4, SCNMatrix4) |
Returns the transformation of |