MaterialProperties¶
Interface MaterialPropertiesExperimental
interface MaterialProperties {
baseColor?: [number, number, number];
emissiveColor?: [number, number, number];
metallic?: number;
name?: string;
opacity?: number;
roughness?: number;
}
baseColor?: [number, number, number];
emissiveColor?: [number, number, number];
metallic?: number;
name?: string;
opacity?: number;
roughness?: number;
}
Index
Properties
Properties
Optional
Experimental
base Color
baseColor?: [number, number, number]
The base color of the material specified by an RGB array, where each channel's value ranges from 0 to 1.
Optional
Experimental
emissive Color
emissiveColor?: [number, number, number]
The emissive color of the material specified by an RGB array, where each channel's value ranges from 0 to 1.
Optional
Experimental
metallic
metallic?: number
The metallic property of the material specified in the range from 0 to 1.
Optional
Experimental
name
name?: string
The name of the material.
Optional
Experimental
opacity
opacity?: number
The opacity of the material specified in the range from 0 to 1.
Optional
Experimental
roughness
roughness?: number
The roughness of the material specified in the range from 0 to 1.
Experimental. May be changed in the future without notice.
The properties of a material entity in the webvis context.
See
MaterialAPI