Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DirectLineMeasurement3DViewModel

Hierarchy

  • Accessor
    • DirectLineMeasurement3DViewModel

Index

Properties

declaredClass

declaredClass: string

destroyed

destroyed: boolean

initialized

initialized: boolean

Readonly measurement

The current measurement calculated between the two points.

Read more...

Readonly state

state: "disabled" | "ready" | "measuring" | "measured"

The view model's state.

Read more...

unit

Unit system (imperial, metric) or specific unit used for displaying the distance values.

Read more...

unitOptions

unitOptions: SystemOrLengthUnit[]

List of unit systems (imperial, metric) and specific units for displaying the distance values.

Read more...

view

view: SceneView

The view from which the widget will operate.

Read more...

Methods

Protected _get

  • _get(propertyName: string): any
  • _get<T>(propertyName: string): T
  • Parameters

    • propertyName: string

    Returns any

  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

Protected _set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns DirectLineMeasurement3DViewModel

clear

  • clear(): void
  • Clears the current measurement.

    Read more...

    Returns void

destroy

  • destroy(): void
  • Returns void

get

  • get<T>(propertyName: string): T
  • get(propertyName: string): any
  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

  • Parameters

    • propertyName: string

    Returns any

Protected notifyChange

  • notifyChange(propertyName: string): void
  • Parameters

    • propertyName: string

    Returns void

set

start

  • start(): void
  • Starts a new measurement.

    Read more...

    Returns void

watch

  • Parameters

    • path: string | string[]
    • callback: WatchCallback
    • Optional sync: boolean

    Returns WatchHandle

Generated using TypeDoc