File: Line2NodeMaterial.md | Updated: 11/15/2025
This node material can be used to render lines with a size larger than one by representing them as instanced meshes.
Constructs a new node material for wide line rendering.
parameters | The configuration parameter. Default is {}.
---|---
Whether alpha to coverage should be used or not.
Default is true.
Overrides: NodeMaterial#alphaToCoverage
Blending is set to NoBlending since transparency is not supported, yet.
Default is 0.
Overrides: NodeMaterial#blending
The dash offset.
Default is 0.
Defines the dash scale.
Default is null.
Defines the dash size.
Default is null.
Whether the lines should be dashed or not.
Default is false.
Defines the gap size.
Default is null.
This flag can be used for type testing.
Default is true.
Defines the lines color.
Default is null.
Defines the offset.
Default is null.
Whether vertex colors should be used or not.
Default is false.
Whether the lines should sized in world units or not. When set to false the unit is pixel.
Default is false.
Setups the vertex and fragment stage of this node material.
builder | The current node builder.
---|---
Overrides: NodeMaterial#setup