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?: numberHow far above its floor a polygon is drawn, mm. Default 20.
opacity#
TypeScript#
opacity?: numberFill opacity, 0..1. Default 0.4.
storey#
TypeScript#
storey?: number | nullOnly this storey of the walk storey table (PageUp/PageDown's), by index; null for all. Default null.