SCNQuaternion.FromAxisAngle(SCNVector3, Single) 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.
Build a quaternion from the given axis and angle
public static SceneKit.SCNQuaternion FromAxisAngle(SceneKit.SCNVector3 axis, float angle);
static member FromAxisAngle : SceneKit.SCNVector3 * single -> SceneKit.SCNQuaternion
Parameters
- axis
- SCNVector3
The axis to rotate about
- angle
- Single
The rotation angle in radians