ReferenceToggleState
Interface in @bimworks/viewer3d.
API catalogue · @bimworks/viewer3d · Interface
TypeScript#
interface ReferenceToggleStateOne object's Centre line toggle of an object distance (ObjectDistanceMeasurement.referenceToggleState)
Members#
| Member | Kind | Description |
|---|---|---|
| disabled | Property | Whether the toggle cannot be switched |
| on | Property | Whether the object is measured on its reference (centre line, axis plane) rather than its surface |
| reason | Property | Why it cannot be switched, where that is known, else null |
disabled#
TypeScript#
disabled: booleanWhether the toggle cannot be switched
on#
TypeScript#
on: booleanWhether the object is measured on its reference (centre line, axis plane) rather than its surface
reason#
TypeScript#
reason: string | nullWhy it cannot be switched, where that is known, else null