Documentation - v19.12.0-dev
    Preparing search index...

    Renders a route's start and end points and their temporary connections to nearby navigation nodes as instanced meshes, keeping them in sync with a NavigationRoutingController's changes.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _objects: Map<string, NavigationRoutingSceneObject> = ...
    _viewer: Viewer
    ignoreViewportRenderMode: false

    Indicates whether the mesh controller should ignore the render mode changes of the viewport

    isSceneMeshController: true
    isSceneObjectController: true
    signals: {
        onObjectAdded: ViewerSignal<
            (object: NavigationRoutingSceneObject) => void,
        >;
        onObjectRemoved: ViewerSignal<
            (object: NavigationRoutingSceneObject) => void,
        >;
        onObjectUpdated: ViewerSignal<
            (object: NavigationRoutingSceneObject) => void,
        >;
        onVisibilityChanged: ViewerSignal<(...args: any[]) => any>;
    } = ...

    Accessors

    • get count(): number

      Controller objects count

      Returns number

    • get firstObject(): TObject | null

      Returns TObject | null

    • get uuids(): MapIterator<string>

      Iterator over all the uuids contained in the controller.

      Returns MapIterator<string>

    • get visible(): boolean

      Returns boolean

    • set visible(value: boolean): void

      Controller visibility (independant from object own visibility).

      Hiding a controller will hide all its children without modifying their own visibility.

      Parameters

      • value: boolean

      Returns void

    Methods

    • To be implemented by controllers to set global visibility (at controller level)

      Parameters

      • value: boolean

      Returns void

    • Clears all objects from the controller

      Returns void

    • Disposes the controller and destroy its data

      Returns void

    • Returns Generator<never, void, unknown>

    • Returns a generator of hidden object uuids of this controller

      Returns Generator<string>

    • Returns a generator of object uuids of this controller

      Returns Generator<string>

    • Returns a generator if visible object uuids of this controller

      Returns Generator<string>

    • Returns whether the controller has the given uuid

      Parameters

      • uuid: string

      Returns boolean

    • Returns Generator<never, void, unknown>

    • Parameters

      • planes: Plane[]

      Returns void

    • Parameters

      • value: boolean

      Returns void

    • Parameters

      • value: boolean

      Returns void