Skip to main content

Measurements.MeasurementModeData

The data associated with Showcase's measurement mode

Properties

label

label: string

The user-set "description" of this measurement

Accessors

id

id: (readonly) string

A unique identifier for this measurement

points

points: (readonly) Vector3[]

The list of wold-space coordinates that compose this measurement

segmentLengths

segmentLengths: (readonly) number[]

The length of each segment between consecutive pairs of points

sid

sid: (readonly) string

Alias for id

temporary

temporary: (readonly) boolean

Whether this measurement was created during the Showcase session

totalLength

totalLength: (readonly) number

The total length of the measurement

type

type: (readonly) MeasurementType

The type of the measurement that determines when it gets rendered