SKTexture.CreateTextureByGeneratingNormalMap Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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