RenderMaterial Namespace

Class

Name Description
RenderMaterial.Params  

Defined in

RenderMaterial Class

Represents a material which can be applied to a surface to control aspects of its appearance such as color, reflectivity, texture, and so on.

Methods

Name Description
constructor(params: RenderMaterial.Params): RenderMaterial Protected    

Properties

Name Type Description
hasTexture Accessor ReadOnly boolean    
key Readonly undefined | string If the material originated from a Material element in the IModelDb, the Id of that element.  
textureMapping Readonly undefined | TextureMapping Describes how to map an image to a surface to which this material is applied.  

Defined in

Last Updated: 02 February, 2022