MeasurementModeData | Matterport SDK
Usage of the SDK constitutes your agreement with the Matterport SDK Agreement. Email developers@matterport.com with any questions.

The data associated with Showcase's measurement mode

Hierarchy

  • MeasurementModeData

Index

Properties

label

label: string

The user-set "description" of this measurement

Accessors

id

  • get id(): string
  • A unique identifier for this measurement

    Returns string

points

  • The list of wold-space coordinates that compose this measurement

    Returns Vector3[]

segmentLengths

  • get segmentLengths(): number[]
  • The length of each segment between consecutive pairs of points

    Returns number[]

sid

  • get sid(): string
  • Alias for id

    Returns string

temporary

  • get temporary(): boolean
  • Whether this measurement was created during the Showcase session

    Returns boolean

totalLength

  • get totalLength(): number
  • The total length of the measurement

    Returns number

type