File: LDrawConditionalLineMaterial.md | Updated: 11/15/2025
A special line material for meshes loaded via LDrawLoader.
This module can only be used with WebGLRenderer. When using WebGPURenderer, import the class from LDrawConditionalLineNodeMaterial.js.
LDrawConditionalLineMaterial is an addon, and must be imported explicitly, see Installation#Addons.
import { LDrawConditionalLineMaterial } from 'three/addons/materials/LDrawConditionalLineMaterial.js';
Constructs a new conditional line material.
parameters | An object with one or more properties defining the material's appearance. Any property of the material (including any property from inherited materials) can be passed in here. Color values can be passed any type of value accepted by Color#set.
---|---
The material's color.
Default is (1,1,1).
This flag can be used for type testing.
Default is true.
The material's opacity.
Default is 1.
Overrides: ShaderMaterial#opacity