MeasurementCreatedEvent#
Class MeasurementCreatedEvent
Hierarchy
- WebVisEvent
- MeasurementCreatedEvent
Index
Constructors
Properties
Constructors
constructor
- new
Measurement Created Event(measurementID: number, progress: MeasurementProgress, name?: string, anchorPosition?: Float32Array, labelPosition?: Float32Array, measurementData?: 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
id
id: number
Optional
label Position
label Position?: Float32Array
Optional
measurement Data
measurementID
measurementID: number
Optional
name
name?: string
progress
progress: MeasurementProgress
Optional
transaction Code
transaction Code?: string
Optional
transactionID
transactionID?: number
Optional
type
type?: EventType
MEASUREMENT_CREATED MEASUREMENT_CREATED