Interface GreasedLineMeshOptions
Hierarchy
- GreasedLineMeshOptions
Index
Properties
Optional color PointersSearch playground for colorPointers
You can manually set the color pointers so you can control which segment/part will use which color from the colors material option
Optional instanceSearch playground for instance
If instance is specified, lines are added to the specified instance. Defaults to undefined.
Optional lazySearch playground for lazy
Use when @see instance is specified. If true, the line will be rendered only after calling instance.updateLazy(). If false, line will be rerendered after every call to @see CreateGreasedLine Defaults to false.
pointsSearch playground for points
Points of the line.
Optional updatableSearch playground for updatable
If true, offsets and widths are updatable. Defaults to false.
Optional uvsSearch playground for uvs
UVs for the mesh
Optional widthsSearch playground for widths
Each line segmment (from point to point) can have it's width multiplier. Final width = widths[segmentIdx] * width. Defaults to empty array.
Options for creating a GreasedLineMesh