Skip to content

RenderMaterial

Minimal physically based material DTO class. Based on references from https://threejs.org/docs/index.html#api/en/materials/MeshStandardMaterial

name instance-attribute

name: str

opacity class-attribute instance-attribute

opacity: float = 1.0

metalness class-attribute instance-attribute

metalness: float = 0.0

roughness class-attribute instance-attribute

roughness: float = 1.0

diffuse instance-attribute

diffuse: int

emissive class-attribute instance-attribute

emissive: int = 0