RenderableLine constructor
RenderableLine({
- dynamic id = 0,
- RenderableVertex? v1,
- RenderableVertex? v2,
- List<
Color> ? vertexColors, - dynamic material,
- dynamic z = 0,
- dynamic renderOrder = 0,
Implementation
RenderableLine({
id = 0,
RenderableVertex? v1,
RenderableVertex? v2,
List<Color>? vertexColors,
material,
z = 0,
renderOrder = 0,
}) {
this.v1 = v1 ?? RenderableVertex();
this.v2 = v2 ?? RenderableVertex();
this.vertexColors = vertexColors ?? [Color(), Color()];
this.id = id;
this.material = material;
this.z = z;
this.renderOrder = renderOrder;
}