共用方式為


SKTexture.CreateTextureByGeneratingNormalMap 方法

定義

多載

CreateTextureByGeneratingNormalMap()

從紋理建立新的紋理。

CreateTextureByGeneratingNormalMap(nfloat, nfloat)

從紋理建立新的紋理,在處理之前將紋理值平滑化,並放大所產生一般地圖的對比。

CreateTextureByGeneratingNormalMap()

從紋理建立新的紋理。

[Foundation.Export("textureByGeneratingNormalMap")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual SpriteKit.SKTexture CreateTextureByGeneratingNormalMap ();
abstract member CreateTextureByGeneratingNormalMap : unit -> SpriteKit.SKTexture
override this.CreateTextureByGeneratingNormalMap : unit -> SpriteKit.SKTexture

傳回

屬性

適用於

CreateTextureByGeneratingNormalMap(nfloat, nfloat)

從紋理建立新的紋理,在處理之前將紋理值平滑化,並放大所產生一般地圖的對比。

[Foundation.Export("textureByGeneratingNormalMapWithSmoothness:contrast:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual SpriteKit.SKTexture CreateTextureByGeneratingNormalMap (nfloat smoothness, nfloat contrast);
abstract member CreateTextureByGeneratingNormalMap : nfloat * nfloat -> SpriteKit.SKTexture
override this.CreateTextureByGeneratingNormalMap : nfloat * nfloat -> SpriteKit.SKTexture

參數

smoothness
nfloat
contrast
nfloat

傳回

屬性

適用於