Reference·JavaScript · @bimworks/viewer3dJavaScript

ShowRouteOptions

Type alias in @bimworks/viewer3d.

API catalogue · @bimworks/viewer3d · Type alias

TypeScript#
type ShowRouteOptions = {
  color?: [number, number, number, number];
  liftMm?: number;
  markDoors?: boolean;
  offset?: [number, number, number];
  thickness?: number;
};

Members#

Member Kind Description
color Property One fixed rgba (0..1 components) instead of colouring by surface class.
liftMm Property Lift above the floor in millimetres. Default 50.
markDoors Property Mark door crossings with arrow instances. Default true.
offset Property Translation added to every point when the route is not in the render frame.
thickness Property Line thickness (screen-space factor). Default 0.005.

color#

TypeScript#
color?: [number, number, number, number]

One fixed rgba (0..1 components) instead of colouring by surface class.

liftMm#

TypeScript#
liftMm?: number

Lift above the floor in millimetres. Default 50.

markDoors#

TypeScript#
markDoors?: boolean

Mark door crossings with arrow instances. Default true.

offset#

TypeScript#
offset?: [number, number, number]

Translation added to every point when the route is not in the render frame.

thickness#

TypeScript#
thickness?: number

Line thickness (screen-space factor). Default 0.005.