Share via


SKTexture.CreateTextureByGeneratingNormalMap Method

Definition

Overloads

Name Description
CreateTextureByGeneratingNormalMap()
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()

[Foundation.Export("textureByGeneratingNormalMap")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual SpriteKit.SKTexture CreateTextureByGeneratingNormalMap();
[<Foundation.Export("textureByGeneratingNormalMap")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual SpriteKit.SKTexture CreateTextureByGeneratingNormalMap(System.Runtime.InteropServices.NFloat smoothness, System.Runtime.InteropServices.NFloat contrast);
[<Foundation.Export("textureByGeneratingNormalMapWithSmoothness:contrast:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CreateTextureByGeneratingNormalMap : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> SpriteKit.SKTexture
override this.CreateTextureByGeneratingNormalMap : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> SpriteKit.SKTexture

Parameters

smoothness
NFloat
contrast
NFloat

Returns

Attributes

Applies to