Upravit

Sdílet prostřednictvím


SKFieldNode.CreateCustomField(SKFieldForceEvaluator) Method

Definition

Creates a field that applies a custom force, returned by evaluator, to physics bodies.

[Foundation.Export("customFieldWithEvaluationBlock:")]
public static SpriteKit.SKFieldNode CreateCustomField (SpriteKit.SKFieldForceEvaluator evaluator);
static member CreateCustomField : SpriteKit.SKFieldForceEvaluator -> SpriteKit.SKFieldNode

Parameters

Returns

Attributes

Applies to