Click or drag to resize
Ab4d.SharpEngine logo

PhysicallyBasedMaterialHasTextureMap Method

Returns true if this PhysicallyBasedMaterial defines the specified map type.

Namespace: Ab4d.SharpEngine.Materials
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public bool HasTextureMap(
	TextureMapTypes mapType,
	bool getLazyInitializedTextures = true
)

Parameters

mapType  TextureMapTypes
type of texture map - one of TextureMapTypes
getLazyInitializedTextures  Boolean  (Optional)
when true (by default) then the method also checks the map types that are lazily initialized

Return Value

Boolean
true if this PhysicallyBasedMaterial defines the specified map type
See Also