IMaterial
-
class
IMaterial() An interface describing a material. The input and output of material operations
Properties
-
IMaterial.isPbr optional
isPbr: booleanWhether this material uses physically-based rendering (PBR)
-
IMaterial.linePattern optional
linePattern: number[]Array of dash/gap lengths defining line pattern
-
IMaterial.linePatternLength optional
linePatternLength: numberTotal length of the line pattern
-
IMaterial.linePatternLengthUnit optional
linePatternLengthUnit:LinePatternLengthUnitUnit of measurement for line pattern length
-
IMaterial.metallic optional
metallic: numberMetallic factor for PBR materials (0.0 = dielectric, 1.0 = metallic)
-
IMaterial.metallicRoughnessMap optional
metallicRoughnessMap:ImageIdMetallic and roughness values texture map
-
IMaterial.opacity optional
opacity: numberMaterial opacity (0.0 = transparent, 1.0 = opaque)
-
IMaterial.roughness optional
roughness: numberSurface roughness for PBR materials (0.0 = mirror, 1.0 = completely rough)
-
IMaterial.specularIntensity optional
specularIntensity: numberIntensity of specular reflections
-
IMaterial.textureFlags optional
textureFlags:TextureFlags