共用方式為


SKTexture.FromTextureVectorNoise(nfloat, CGSize) 方法

定義

建立包含隨機方向雜訊資料的紋理,其中 RGB 值包含方向向量,以及代表大小的 Alpha 色板。

[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

參數

smoothness
nfloat
size
CGSize

傳回

屬性

適用於