API for adding and managing sprite markers in the scene. Uses THREE.InstancedMesh for performance.
Constructs the marker manager and sets up an initial instanced mesh.
The rendering context this marker system belongs to.
Adds a sprite marker at the specified position. Resizes mesh if capacity is reached.
The world position to add the marker at.
The newly created Marker.
Removes all markers from the scene and resets mesh count.
Returns the marker at the given index.
The marker index.
The Marker instance or undefined.
Removes the specified marker from the scene. Uses swap-and-pop to maintain dense storage.
The marker to remove.
API for adding and managing sprite markers in the scene. Uses THREE.InstancedMesh for performance.