Share via


SKFieldNode.CreateNoiseField(NFloat, NFloat) Method

Definition

Creates a node that applies randomized accelerations to physics bodies.

[Foundation.Export("noiseFieldWithSmoothness:animationSpeed:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SpriteKit.SKFieldNode CreateNoiseField(System.Runtime.InteropServices.NFloat smoothness, System.Runtime.InteropServices.NFloat speed);
[<Foundation.Export("noiseFieldWithSmoothness:animationSpeed:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateNoiseField : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> SpriteKit.SKFieldNode

Parameters

smoothness
NFloat
speed
NFloat

Returns

Attributes

Applies to