SCNQuaternion Constructors
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 |
|---|---|
| SCNQuaternion(RMatrix3) | |
| SCNQuaternion(Quaternion) | |
| SCNQuaternion(SCNVector3, NFloat) |
Construct a new SCNQuaternion from vector and w components |
| SCNQuaternion(SCNVector3, Single) |
Construct a new SCNQuaternion from vector and w components |
| SCNQuaternion(NFloat, NFloat, NFloat, NFloat) |
Construct a new SCNQuaternion |
| SCNQuaternion(Single, Single, Single, Single) |
Construct a new SCNQuaternion |
SCNQuaternion(RMatrix3)
public SCNQuaternion(ref CoreGraphics.RMatrix3 matrix);
new SceneKit.SCNQuaternion : RMatrix3 -> SceneKit.SCNQuaternion
Parameters
- matrix
- RMatrix3
Applies to
SCNQuaternion(Quaternion)
public SCNQuaternion(System.Numerics.Quaternion quaternion);
new SceneKit.SCNQuaternion : System.Numerics.Quaternion -> SceneKit.SCNQuaternion
Parameters
- quaternion
- Quaternion
Applies to
SCNQuaternion(SCNVector3, NFloat)
Construct a new SCNQuaternion from vector and w components
public SCNQuaternion(SceneKit.SCNVector3 v, System.Runtime.InteropServices.NFloat w);
new SceneKit.SCNQuaternion : SceneKit.SCNVector3 * System.Runtime.InteropServices.NFloat -> SceneKit.SCNQuaternion
Parameters
The vector part
- w
- NFloat
The w part
Applies to
SCNQuaternion(SCNVector3, Single)
Construct a new SCNQuaternion from vector and w components
public SCNQuaternion(SceneKit.SCNVector3 v, float w);
new SceneKit.SCNQuaternion : SceneKit.SCNVector3 * single -> SceneKit.SCNQuaternion
Parameters
The vector part
- w
- Single
The w part
Applies to
SCNQuaternion(NFloat, NFloat, NFloat, NFloat)
Construct a new SCNQuaternion
public SCNQuaternion(System.Runtime.InteropServices.NFloat x, System.Runtime.InteropServices.NFloat y, System.Runtime.InteropServices.NFloat z, System.Runtime.InteropServices.NFloat w);
new SceneKit.SCNQuaternion : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> SceneKit.SCNQuaternion
Parameters
- x
- NFloat
The x component
- y
- NFloat
The y component
- z
- NFloat
The z component
- w
- NFloat
The w component