Modifier

Partager via


SCNQuaternion.FromAxisAngle(SCNVector3, Single) Method

Definition

Creates and returns a new quaternion that represents the specified rotation about the specified axis.

public static SceneKit.SCNQuaternion FromAxisAngle (SceneKit.SCNVector3 axis, float angle);
static member FromAxisAngle : SceneKit.SCNVector3 * single -> SceneKit.SCNQuaternion

Parameters

axis
SCNVector3
angle
Single

Returns

Applies to