@twinfinity/core
    Preparing search index...

    Class LaserTool

    Interface for tracked 3D coordinate.

    Implements

    Index

    Constructors

    Properties

    end: Vector3
    id: string
    isEnabled: boolean = false

    If undefined or true and if onLabelUpdate is not undefined then coordinate tracker will report 2d coordinates for this instance.

    onLabelUpdate?: LabelUpdateHandler
    start: Vector3
    x: number

    X Coordinate of laser label position

    y: number

    Y Coordinate of laser label position

    z: number

    Z Coordinate of laser label position

    Accessors

    • get isLaserVisible(): boolean

      false when laser is not visible.

      Returns boolean

    • get isVisible(): boolean

      If true then laser tool is enabled.

      Returns boolean

    • set isVisible(val: boolean): void

      If false then laser tool is not visible.

      Parameters

      • val: boolean

      Returns void

    Methods

    • Returns void