Configuration for the fly operation including camera position, target, flight time and easing curve
void
Zoom camera to fit specified meshes in the scene with smooth animation. Works only with ArcRotateCamera. Animation can be interrupted if called multiple times.
Configuration for zoom operation including meshes, children inclusion, animation speed and easing curve
void
Zoom camera to fit specified meshes in the scene with smooth animation, considering exact screen aspect ratio. Unlike zoomOn, this method precisely calculates camera distance based on viewport dimensions and mesh bounding box to ensure better fit at padding=0. Works only with ArcRotateCamera. Animation can be interrupted if called multiple times.
Configuration for zoom operation including meshes, children inclusion, animation speed and easing curve
void
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.
Configuration for focus operation including meshes, orientation, distance, animation speed and easing curve
void
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.
Create point of interest
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.
Create point of interest style
Fly the camera to a specific position and target with a smooth animation, using the same motion a point of interest uses when clicked: shortest-arc rotation along the chosen easing curve, over
animationSpeedseconds. Works only with ArcRotateCamera. Animation can be interrupted if called multiple times.