Bewerken

Delen via


SCNAction.MoveBy Method

Definition

Overloads

MoveBy(SCNVector3, Double)

Creates an action that moves the SCNGeometry in the magnitude and direction of delta, over durationInSeconds seconds.

MoveBy(nfloat, nfloat, nfloat, Double)

MoveBy(SCNVector3, Double)

Creates an action that moves the SCNGeometry in the magnitude and direction of delta, over durationInSeconds seconds.

[Foundation.Export("moveBy:duration:")]
public static SceneKit.SCNAction MoveBy (SceneKit.SCNVector3 delta, double durationInSeconds);
static member MoveBy : SceneKit.SCNVector3 * double -> SceneKit.SCNAction

Parameters

delta
SCNVector3
durationInSeconds
Double

Returns

Attributes

Applies to

MoveBy(nfloat, nfloat, nfloat, Double)

[Foundation.Export("moveByX:y:z:duration:")]
public static SceneKit.SCNAction MoveBy (nfloat deltaX, nfloat deltaY, nfloat deltaZ, double durationInSeconds);
static member MoveBy : nfloat * nfloat * nfloat * double -> SceneKit.SCNAction

Parameters

deltaX
nfloat
deltaY
nfloat
deltaZ
nfloat
durationInSeconds
Double

Returns

Attributes

Applies to