RenderMaterial Class

Beta

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

Methods

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

Properties

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

Defined in

Last Updated: 03 June, 2019