Compartilhar via


SKTexture.CreateTextureByGeneratingNormalMap Método

Definição

Sobrecargas

CreateTextureByGeneratingNormalMap()

Cria uma nova textura a partir da textura.

CreateTextureByGeneratingNormalMap(nfloat, nfloat)

Cria uma nova textura a partir da textura, suavizando os valores de textura antes de processar e ampliar o contraste do mapa normal resultante.

CreateTextureByGeneratingNormalMap()

Cria uma nova textura a partir da textura.

[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

Retornos

Atributos

Aplica-se a

CreateTextureByGeneratingNormalMap(nfloat, nfloat)

Cria uma nova textura a partir da textura, suavizando os valores de textura antes de processar e ampliar o contraste do mapa normal resultante.

[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

Parâmetros

smoothness
nfloat
contrast
nfloat

Retornos

Atributos

Aplica-se a