@stereograph/teiaviewer - v18.6.0-dev
    Preparing search index...

    Class RaycastableSceneObjectAbstract

    Base class for scene objects that are raycastable

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    availableTransforms: {
        rotation: boolean;
        scaling: boolean;
        translation: boolean;
    } = ...

    Indicates which gizmo controls are available for the object

    children: SceneObject[] = ...
    isDisplayable: true
    isRaycastable: true
    isSceneObject: true
    isSelectable: boolean = true

    Indicates whether the object is selectable in the scene

    name: string = ''
    parent: null | SceneObject = null
    showInfoboxOnClick: boolean = true

    Indicates whether the object should open an infobox on click

    signals: {
        onSelectedChanged: ViewerSignal<(...args: any[]) => any>;
        onVisibilityChanged: ViewerSignal<(...args: any[]) => any>;
    } = ...
    transformable: boolean = false

    Indicates whether the object can be transformed in the scene

    userData: Record<string, any> = {}
    uuid: string

    Unique identifier of the object

    Accessors

    • get active(): boolean

      Returns boolean

    • get selected(): boolean

      Returns boolean

    • set selected(value: boolean): void

      Parameters

      • value: boolean

      Returns void

    • get type(): string

      Returns string

    • get visible(): boolean

      Returns boolean

    • set visible(value: boolean): void

      Parameters

      • value: boolean

      Returns void

    Methods

    • Parameters

      • matrix: Matrix4

      Returns void

    • Parameters

      • box: Box3

      Returns Box3

    • Parameters

      • sphere: Sphere

      Returns Sphere

    • Parameters

      • target: Matrix4

      Returns Matrix4

    • Parameters

      • target: Vector3

      Returns Vector3

    • Parameters

      Returns void

    • Parameters

      • matrix: Matrix4

      Returns void

    • Parameters

      • position: Vector3

      Returns void

    • Returns Record<string, any>