Modifier

Partager via


SKAction.Falloff(Single, Double) Method

Definition

Caution

Use the 'FalloffBy' method.

Creates an action that changes the Falloff property of the SKFieldNode to which is applied to the specified value over sec seconds.

[System.Obsolete("Use the 'FalloffBy' method.")]
public static SpriteKit.SKAction Falloff (float to, double duration);
static member Falloff : single * double -> SpriteKit.SKAction

Parameters

to
Single
duration
Double

Returns

Attributes

Applies to