MeasurementCreatedEvent#
Class MeasurementCreatedEvent
Hierarchy
- WebVisEvent
- MeasurementCreatedEvent
Index
Constructors
Properties
Constructors
constructor
- new
Measurement Created Event(measurementID, progress, name?, anchorPosition?, labelPosition?, measurementData?): MeasurementCreatedEvent -
The MEASUREMENT_CREATED event occurs if a Measurement has been created.
Parameters
-
measurementID: number
The ID of the Measurement.
-
progress: MeasurementProgress
The progress of the Measurement.
-
Optional
name: stringThe name of the Measurement.
-
Optional
anchorPosition: Float32ArrayAnchor position in world space coordinates.
-
Optional
labelPosition: Float32ArrayLabel position in world space coordinates.
-
Optional
measurementData: MeasurementDataThe whole MeasurementData.
Returns MeasurementCreatedEvent
-
Properties
Optional
anchor Position
anchor Position?: Float32Array
Anchor position in world space coordinates.
id
id: number
Optional
label Position
label Position?: Float32Array
Label position in world space coordinates.
Optional
measurement Data
The whole MeasurementData.
measurementID
measurementID: number
The ID of the Measurement.
Optional
name
name?: string
The name of the Measurement.
progress
The progress of the Measurement.
Optional
transaction Code
transaction Code?: string
Optional
transactionID
transactionID?: number
MEASUREMENT_CREATED MEASUREMENT_CREATED