Skip to main content

ZylemLineOptions

@zylem/game-lib


@zylem/game-lib / entity / ZylemLineOptions

Type Alias: ZylemLineOptions

ZylemLineOptions = GameEntityOptions & object

Defined in: packages/game-lib/src/lib/entities/line.ts:31

Type Declaration​

alphaToCoverage?​

optional alphaToCoverage?: boolean

colors?​

optional colors?: ColorRepresentation[]

Optional per-vertex colors (enables vertexColors on the material).

dashed?​

optional dashed?: boolean

dashSize?​

optional dashSize?: number

gapSize?​

optional gapSize?: number

linewidth?​

optional linewidth?: number

opacity?​

optional opacity?: number

pickThreshold?​

optional pickThreshold?: number

Default Raycaster threshold for pickFromRaycaster.

points​

points: Vec3Input[]

Polyline vertices in world space (minimum 2).

transparent?​

optional transparent?: boolean

worldUnits?​

optional worldUnits?: boolean