Interface InstructionApiInterface

Use the InstructionApiInterface to access methods which allow you to move to instruction and to get the position (in site coordinates) and floor of the instruction.

interface InstructionApiInterface {
    floor: SiteModelEntityInterface;
    position: Vector3;
    text: string;
    type: InstructionType;
    moveToInstruction(): Promise<void>;
}

Properties

Return the floor of the instruction.

position: Vector3

Return the position (site coordinate) of the instruction.

text: string

Return the text of the instruction.

The type of the instruction.

Methods

  • Move the camera to the instruction.

    Returns Promise<void>

Generated using TypeDoc