 |
PhysicallyBasedMaterialHasTextureMap Method |
Returns true if this PhysicallyBasedMaterial defines the specified map type.
Namespace: Ab4d.SharpEngine.MaterialsAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntaxpublic 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
Booleantrue if this PhysicallyBasedMaterial defines the specified map type
See Also