Constructs a new Marker object.
The viewer managing rendering and interaction.
The instanced submesh this marker is bound to.
The BIM element index associated with this object. Can be undefined if the object is not part of a Vim.
The geometry instances associated with this object. This is used when the marker is derived from multiple instances.
Readonly
typeThe Vim object from which this object came. Can be undefined if the object is not part of a Vim.
Gets the current color override for the marker.
Sets the color override for the marker. Passing undefined disables the override.
Gets whether the marker is focused (enlarged).
Sets whether the marker is focused (enlarged).
Always false; marker is a gizmo and not an actual mesh.
The index of the marker in the marker collection.
Gets whether the marker is outlined (highlighted).
Sets whether the marker is outlined (highlighted).
Gets the world position of the marker.
Sets the world position of the marker.
Gets the uniform scale factor applied to the marker.
Sets the uniform scale factor for the marker. Only updates the matrix if the size has changed.
Gets whether the marker is visible in the scene.
Sets whether the marker is visible in the scene.
Updates the underlying submesh and rebinds all attributes to the new mesh.
The new submesh to bind to this marker.
Marker gizmo that displays an interactive sphere at a 3D position. Marker gizmos are still under development.