SKTexture.FromTextureVectorNoise(nfloat, CGSize) 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 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