SCNQuaternion 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.
Represents a quaternion and contains methods that operate on them.
[System.Serializable]
public struct SCNQuaternion : IEquatable<SceneKit.SCNQuaternion>
type SCNQuaternion = struct
- Inheritance
-
SCNQuaternion
- Attributes
- Implements
Constructors
Fields
Identity |
Returns a quaternion that represents no rotation. |
Properties
Length |
Gets the length of the quaternion. |
LengthSquared |
Gets the square of the length of the quaternion. |
W |
Gets or sets the W component. |
X |
Gets or sets the X component. |
Xyz |
Gets or sets the X, Y, and Z components. |
Y |
Gets or sets the Y component. |
Z |
Gets or sets the Z component. |
Methods
Add(SCNQuaternion, SCNQuaternion, SCNQuaternion) |
Adds |
Add(SCNQuaternion, SCNQuaternion) |
Adds |
Conjugate() |
Returns the quaternion conjugate of this instance. |
Conjugate(SCNQuaternion, SCNQuaternion) |
Calculates the quaternion conjugate of |
Conjugate(SCNQuaternion) |
Returns the quaternion conjugate of |
Equals(Object) |
Returns |
Equals(SCNQuaternion) |
Returns |
FromAxisAngle(SCNVector3, Single) |
Creates and returns a new quaternion that represents the specified rotation about the specified axis. |
GetHashCode() |
Returns the hashcode for this instance. |
Invert(SCNQuaternion, SCNQuaternion) |
Returns the quaternion that inverts the rotation that is performed by |
Invert(SCNQuaternion) |
Returns the quaternion that inverts the rotation that is performed by |
Multiply(SCNQuaternion, SCNQuaternion, SCNQuaternion) |
Multiplies |
Multiply(SCNQuaternion, SCNQuaternion) |
Multiplies |
Multiply(SCNQuaternion, Single, SCNQuaternion) |
Multiplies |
Multiply(SCNQuaternion, Single) |
Multiplies |
Normalize() |
Scales the instance to unit length. |
Normalize(SCNQuaternion, SCNQuaternion) |
Scales |
Normalize(SCNQuaternion) |
Scales |
Slerp(SCNQuaternion, SCNQuaternion, Single) |
Returns the spherical linear interpolation from |
Sub(SCNQuaternion, SCNQuaternion, SCNQuaternion) |
Subtracts |
Sub(SCNQuaternion, SCNQuaternion) |
Subtracts |
ToAxisAngle() |
Returns an axis-angle representation of the quaternion. |
ToAxisAngle(SCNVector3, nfloat) | |
ToAxisAngle(SCNVector3, Single) |
Stores the axis of rotation of the quaternion in |
ToString() |
Returns a string representation of this instance. |