Bearbeiten

Freigeben über


SKFieldNode.CreateElectricField Method

Definition

Creates a field that applies a force that is proportional to the charge on a physics body, along a line from the node to the body.

[Foundation.Export("electricField")]
public static SpriteKit.SKFieldNode CreateElectricField ();
static member CreateElectricField : unit -> SpriteKit.SKFieldNode

Returns

Attributes

Applies to