Options
All
  • Public
  • Public/Protected
  • All
Menu

Options for creating a GreasedLineMesh

Hierarchy

Index

Properties

colorPointers?: number[]

You can manually set the color pointers so you can control which segment/part will use which color from the colors material option

instance?: GreasedLineMesh

If instance is specified, lines are added to the specified instance. Defaults to undefined.

lazy?: boolean

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.

Points of the line.

updatable?: boolean

If true, offsets and widths are updatable. Defaults to false.

uvs?: number[]

UVs for the mesh

widths?: number[]

Each line segmment (from point to point) can have it's width multiplier. Final width = widths[segmentIdx] * width. Defaults to empty array.

Legend

  • Constructor
  • Property
  • Method
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Property
  • Method
  • Static method

Settings

Theme