Function CreateDashedLinesVertexData
-
CreateDashedLinesVertexData(
options: {
dashNb?: number;
dashSize?: number;
gapSize?: number;
points: Vector3[];
},
): VertexDataParameters
- options: { dashNb?: number; dashSize?: number; gapSize?: number; points: Vector3[] }
an object used to set the following optional parameters for the DashedLines, required but can be empty
- points an array successive Vector3
- dashSize the size of the dashes relative to the dash number, optional, default 3
- gapSize the size of the gap between two successive dashes relative to the dash number, optional, default 1
- dashNb the intended total number of dashes, optional, default 200
Returns VertexData
the VertexData for the DashedLines
- options: { dashNb?: number; dashSize?: number; gapSize?: number; points: Vector3[] }
Create the VertexData for a DashedLines