CurrentSpaceTrackerSettings
Type alias in @bimworks/viewer3d.
API catalogue · @bimworks/viewer3d · Type alias
TypeScript#
type CurrentSpaceTrackerSettings = {
getClause: string;
labelTemplate: string;
minMoveMm: number;
pointSource: "eye" | "orbitCenter";
staleAfterMs: number;
throttleMs: number;
};Settings of the current-space tracker (docs/current-space-design.md §8).
Members#
| Member | Kind | Description |
|---|---|---|
| getClause | Property | Extra BQL GET features fetched for every space, e.g. "property.Pset_SpaceCommon.Reference". |
| labelTemplate | Property | Label template such as "{attribute.Name} · {zone.attribute.Name}"; empty = Name, else LongName, else #oid. |
| minMoveMm | Property | Moves shorter than this are ignored. Default 50. |
| pointSource | Property | Which camera point is located. Default "eye". |
| staleAfterMs | Property | How long the last space lingers (marked stale) after the point left every space. Default 5000. |
| throttleMs | Property | Evaluate at most once per this many ms; the last position of a move is always evaluated. Default 100. |
getClause#
TypeScript#
getClause: stringExtra BQL GET features fetched for every space, e.g. "property.Pset_SpaceCommon.Reference".
labelTemplate#
TypeScript#
labelTemplate: stringLabel template such as "{attribute.Name} · {zone.attribute.Name}"; empty = Name, else LongName, else #oid.
minMoveMm#
TypeScript#
minMoveMm: numberMoves shorter than this are ignored. Default 50.
pointSource#
TypeScript#
pointSource: "eye" | "orbitCenter"Which camera point is located. Default "eye".
staleAfterMs#
TypeScript#
staleAfterMs: numberHow long the last space lingers (marked stale) after the point left every space. Default 5000.
throttleMs#
TypeScript#
throttleMs: numberEvaluate at most once per this many ms; the last position of a move is always evaluated. Default 100.