Edit

Share via


SKTexture.FromTextureVectorNoise(nfloat, CGSize) Method

Definition

Creates a texture that consists of randomized directional noise data, with the RGB values comprising a direction vector, and the alpha channel representing a magnitude.

[Foundation.Export("textureVectorNoiseWithSmoothness:size:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public static SpriteKit.SKTexture FromTextureVectorNoise (nfloat smoothness, CoreGraphics.CGSize size);
static member FromTextureVectorNoise : nfloat * CoreGraphics.CGSize -> SpriteKit.SKTexture

Parameters

smoothness
nfloat
size
CGSize

Returns

Attributes

Applies to