Szerkesztés

Megosztás a következőn keresztül:


SKTexture.CreateTextureByGeneratingNormalMap Method

Definition

Overloads

CreateTextureByGeneratingNormalMap()

Creates a new texture from the texture.

CreateTextureByGeneratingNormalMap(nfloat, nfloat)

Creates a new texture from the texture, smoothing the texture values before processing and magnifying the contrast of the resulting normal map.

CreateTextureByGeneratingNormalMap()

Creates a new texture from the texture.

[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

Returns

Attributes

Applies to

CreateTextureByGeneratingNormalMap(nfloat, nfloat)

Creates a new texture from the texture, smoothing the texture values before processing and magnifying the contrast of the resulting normal map.

[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

Parameters

smoothness
nfloat
contrast
nfloat

Returns

Attributes

Applies to