GizmoStyle
Defined in: client/api.d.ts:2526
Appearance and lifetime of a client debug drawing.
Properties
Section titled “Properties”color?
Section titled “color?”
optionalcolor?:number
Defined in: client/api.d.ts:2530
Unsigned 0xAARRGGBB color. Defaults to 0xFF6EE678 (opaque green).
depthTest?
Section titled “depthTest?”
optionaldepthTest?:boolean
Defined in: client/api.d.ts:2540
Defaults to true: scene geometry occludes the drawing. Set false to show through walls. Drawings never write scene depth.
durationMs?
Section titled “durationMs?”
optionaldurationMs?:number
Defined in: client/api.d.ts:2550
Integer lifetime from 0 to 3600000 milliseconds. Zero (default) persists until removed. Replacing the drawing restarts its lifetime.
fillColor?
Section titled “fillColor?”
optionalfillColor?:number
Defined in: client/api.d.ts:2545
Unsigned 0xAARRGGBB fill color. Defaults to transparent (outline only). Supports boxes, spheres, circles, cones, cylinders, capsules, arrow heads and meshes. Throws for lines, polylines, grids, axes and polygon areas, which have no faces; fill a polygon with explicit mesh triangles.
width?
Section titled “width?”
optionalwidth?:number
Defined in: client/api.d.ts:2535
Line width in pixels, 0.5 to 8. Defaults to 1.5; polygon vertical edges use 60% of this width.