Reference·JavaScript · @bimworks/viewer3dJavaScript

WalkableSurfacesViewOptions

Type alias in @bimworks/viewer3d.

API catalogue · @bimworks/viewer3d · Type alias

TypeScript#
type WalkableSurfacesViewOptions = {
  agent?: { characterHeightMm?: number; characterRadiusMm?: number; climbHeightMm?: number };
  layers?: (WalkableSurfacesLayer)[];
  liftMm?: number;
  opacity?: number;
  storey?: number | null;
};

Members#

Member Kind Description
agent Property The character judged; each value defaults to the walk settings in use (1800, 250 and 250 mm).
layers Property The layers drawn. Default ["walkable", "limits", "federation"]: notWalkable and unknown are off.
liftMm Property How far above its floor a polygon is drawn, mm. Default 20.
opacity Property Fill opacity, 0..1. Default 0.4.
storey Property Only this storey of the walk storey table (PageUp/PageDown's), by index; null for all. Default null.

agent#

TypeScript#
agent?: { characterHeightMm?: number; characterRadiusMm?: number; climbHeightMm?: number }

The character judged; each value defaults to the walk settings in use (1800, 250 and 250 mm).

layers#

TypeScript#
layers?: (WalkableSurfacesLayer)[]

The layers drawn. Default ["walkable", "limits", "federation"]: notWalkable and unknown are off.

liftMm#

TypeScript#
liftMm?: number

How far above its floor a polygon is drawn, mm. Default 20.

opacity#

TypeScript#
opacity?: number

Fill opacity, 0..1. Default 0.4.

storey#

TypeScript#
storey?: number | null

Only this storey of the walk storey table (PageUp/PageDown's), by index; null for all. Default null.