SKFieldNode.CreateRadialGravityField 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 node that applies a central acceleration to neighboring physics bodies.
[Foundation.Export("radialGravityField")]
public static SpriteKit.SKFieldNode CreateRadialGravityField ();
static member CreateRadialGravityField : unit -> SpriteKit.SKFieldNode
Returns
- Attributes