SKTexture.CreateTextureByGeneratingNormalMap 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
傳回
- 屬性