Bewerken

Delen via


SCNAction.Wait Method

Definition

Overloads

Wait(Double)

Creates an action that waits for durationInSeconds seconds.

Wait(Double, Double)

Creates an action that waits for a random amount of time in the range (durationInSeconds - durationRange, durationInSeconds + durationRange).

Wait(Double)

Creates an action that waits for durationInSeconds seconds.

[Foundation.Export("waitForDuration:")]
public static SceneKit.SCNAction Wait (double durationInSeconds);
static member Wait : double -> SceneKit.SCNAction

Parameters

durationInSeconds
Double

Returns

Attributes

Applies to

Wait(Double, Double)

Creates an action that waits for a random amount of time in the range (durationInSeconds - durationRange, durationInSeconds + durationRange).

[Foundation.Export("waitForDuration:withRange:")]
public static SceneKit.SCNAction Wait (double durationInSeconds, double durationRange);
static member Wait : double * double -> SceneKit.SCNAction

Parameters

durationInSeconds
Double
durationRange
Double

Returns

Attributes

Applies to