SCNQuaternion.ToAxisAngle Method
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.
Overloads
| Name | Description |
|---|---|
| ToAxisAngle() |
Convert this instance to an axis-angle representation. |
| ToAxisAngle(SCNVector3, NFloat) |
Convert the current quaternion to axis angle representation |
| ToAxisAngle(SCNVector3, Single) |
Convert the current quaternion to axis angle representation |
ToAxisAngle()
Convert this instance to an axis-angle representation.
public SceneKit.SCNVector4 ToAxisAngle();
member this.ToAxisAngle : unit -> SceneKit.SCNVector4
Returns
A Vector4 that is the axis-angle representation of this quaternion.
Applies to
ToAxisAngle(SCNVector3, NFloat)
Convert the current quaternion to axis angle representation
public void ToAxisAngle(out SceneKit.SCNVector3 axis, out System.Runtime.InteropServices.NFloat angle);
member this.ToAxisAngle : SCNVector3 * NFloat -> unit
Parameters
- axis
- SCNVector3
The resultant axis
- angle
- NFloat
The resultant angle
Applies to
ToAxisAngle(SCNVector3, Single)
Convert the current quaternion to axis angle representation
public void ToAxisAngle(out SceneKit.SCNVector3 axis, out float angle);
member this.ToAxisAngle : SCNVector3 * single -> unit
Parameters
- axis
- SCNVector3
The resultant axis
- angle
- Single
The resultant angle