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.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
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