SKFieldNode.CreateElectricField Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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