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