TargetOrbitControlMesh

new TargetOrbitControlMesh(orbitControls, camera3D, layerManager)

Constructor to initialize the camera controller and related UI elements. Sets up the orbit controls, camera mesh, and initializes the UI for interaction. Adds an event listener on the orbit controls to update the mesh when changes occur.

Parameters:
NameTypeDescription
orbitControlsOrbitControls

The orbit controls used to manipulate the camera.

camera3DCamera

The 3D camera being controlled.

layerManagerLayerManager

A manager handling different layers in the scene.