Freigeben über


SKTexture.FromTextureVectorNoise(nfloat, CGSize) Methode

Definition

Erstellt eine Textur, die aus zufälligen richtungsbasierten Rauschdaten besteht, wobei die RGB-Werte einen Richtungsvektor und der Alphakanal eine Größe darstellen.

[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

Parameter

smoothness
nfloat
size
CGSize

Gibt zurück

Attribute

Gilt für: