SCNAction.RotateTo Method

Definition

Overloads

RotateTo(SCNVector4, Double)

Creates an action that rotates the geometry to the specified angle about an axis, taking durationInSeconds seconds. (The fourth component of axisAngle specifies the rotation.)

RotateTo(nfloat, nfloat, nfloat, Double)
RotateTo(nfloat, nfloat, nfloat, Double, Boolean)

RotateTo(SCNVector4, Double)

Creates an action that rotates the geometry to the specified angle about an axis, taking durationInSeconds seconds. (The fourth component of axisAngle specifies the rotation.)

[Foundation.Export("rotateToAxisAngle:duration:")]
public static SceneKit.SCNAction RotateTo (SceneKit.SCNVector4 axisAngle, double durationInSeconds);
static member RotateTo : SceneKit.SCNVector4 * double -> SceneKit.SCNAction

Parameters

axisAngle
SCNVector4
durationInSeconds
Double

Returns

Attributes

Applies to

RotateTo(nfloat, nfloat, nfloat, Double)

[Foundation.Export("rotateToX:y:z:duration:")]
public static SceneKit.SCNAction RotateTo (nfloat xAngle, nfloat yAngle, nfloat zAngle, double durationInSeconds);
static member RotateTo : nfloat * nfloat * nfloat * double -> SceneKit.SCNAction

Parameters

xAngle
nfloat
yAngle
nfloat
zAngle
nfloat
durationInSeconds
Double

Returns

Attributes

Applies to

RotateTo(nfloat, nfloat, nfloat, Double, Boolean)

[Foundation.Export("rotateToX:y:z:duration:shortestUnitArc:")]
public static SceneKit.SCNAction RotateTo (nfloat xAngle, nfloat yAngle, nfloat zAngle, double durationInSeconds, bool shortestUnitArc);
static member RotateTo : nfloat * nfloat * nfloat * double * bool -> SceneKit.SCNAction

Parameters

xAngle
nfloat
yAngle
nfloat
zAngle
nfloat
durationInSeconds
Double
shortestUnitArc
Boolean

Returns

Attributes

Applies to