SKFieldNode.CreateTurbulenceField(nfloat, nfloat) 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 randomized forces to neighboring physics bodies, with an average force that is proportional to the physics body's speed.
[Foundation.Export("turbulenceFieldWithSmoothness:animationSpeed:")]
public static SpriteKit.SKFieldNode CreateTurbulenceField (nfloat smoothness, nfloat speed);
static member CreateTurbulenceField : nfloat * nfloat -> SpriteKit.SKFieldNode
Parameters
- smoothness
- nfloat
- speed
- nfloat
Returns
- Attributes