Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Navigation

Index

Constructors

constructor

Methods

focusFromAngle

  • Focus camera on specified meshes from a specific angle with smooth animation. Computes the center of the bounding box of all meshes and positions the camera at the specified orientation vector to look at the center. Works only with ArcRotateCamera. Animation can be interrupted if called multiple times.

    group

    camera

    shortname

    focus from angle

    drawable

    false

    Parameters

    • inputs: FocusFromAngleDto

      Configuration for focus operation including meshes, orientation, distance, and animation speed

    Returns Promise<void>

    void

pointOfInterest

  • Creates point of interest - clickable indicator in 3D space that can be used to fly the camera to a specific location with predefined camera position and target. Point of interest can be styled with PointOfInterestStyleDto and animated with pulse effect. Point of interest can also have a text label.

    example

    Navigation.pointOfInterest({ name: "Entrance", position: [0, 1, 0], cameraPosition: [10, 10, 10], cameraTarget: [0, 0, 0] });

    group

    point of interest

    shortname

    point of interest

    drawable

    true

    Parameters

    Returns PointOfInterestEntity

    Create point of interest

pointOfInterestStyle

  • Create point of interest style - used to style point of interest indicators in 3D space. You can customize point size, color, hover color, pulse effect, text label color and size.

    group

    point of interest

    shortname

    point of interest style

    drawable

    false

    Parameters

    Returns PointOfInterestStyleDto

    Create point of interest style

zoomOn

  • Zoom camera to fit specified meshes in the scene with smooth animation. Works only with ArcRotateCamera. Animation can be interrupted if called multiple times.

    group

    camera

    shortname

    zoom on

    drawable

    false

    Parameters

    • inputs: ZoomOnDto

      Configuration for zoom operation including meshes, children inclusion, and animation speed

    Returns Promise<void>

    void

Generated using TypeDoc