Edit

Share via


SKFieldNode.CreateMagneticField Method

Definition

Creates a field that applies a Lorentz force to moving charges.

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

Returns

Attributes

Applies to