Function CreateLineSystemVertexData
-
CreateLineSystemVertexData(
options: { colors?: Nullable<Color4[][]>; lines: Vector3[][] },
): VertexDataParameters
- options: { colors?: Nullable<Color4[][]>; lines: Vector3[][] }
an object used to set the following optional parameters for the LineSystem, required but can be empty
- lines an array of lines, each line being an array of successive Vector3
- colors an array of line colors, each of the line colors being an array of successive Color4, one per line point
Returns VertexData
the VertexData of the LineSystem
- options: { colors?: Nullable<Color4[][]>; lines: Vector3[][] }
Creates the VertexData of the LineSystem