Skip to main content

ZPbrMaterialData

actualpackageZPbrMaterialData
6 items
constructorZPbrMaterialData
constructor(color: ZColor, emissive: ZColor, _emissiveIntensity: Float, _metalness: Float, _roughness: Float)
Initializes a ZPbrMaterialData object with specified values, clamping any out-of-range values for emissive intensity, metalness, and roughness to their valid ranges.
var color: ZColor
The color of the material.
var emissive: ZColor
The emissive color of the material.
var emissiveIntensity: Float
Defines the intensity of the emissive property of a material.
var metalness: Float
Defines the metalness of a material.
var roughness: Float
Defines the roughness of a material.