Share via


UIFieldBehavior.CreateNoiseField(NFloat, NFloat) Method

Definition

Factory method to create a field with random forces.

[Foundation.Export("noiseFieldWithSmoothness:animationSpeed:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static UIKit.UIFieldBehavior 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 -> UIKit.UIFieldBehavior

Parameters

smoothness
NFloat
speed
NFloat

Returns

Attributes

Remarks

The field vectors of a noise field are dynamic. The following is a snapshot:

Applies to