The viewer whose engine scene draws the lines.
The plugin's settings: the size of the sprites.
Protected Readonly_Protected Readonly_ReadonlyignoreIndicates whether the mesh controller should ignore the render mode changes of the viewport
ReadonlyisReadonlyisReadonlyisReadonlysignalsOne of its objects is selected or unselected (SceneObject.selected).
One of its objects is shown or hidden (SceneObject.visible).
Controller objects count
How all its objects are drawn, over each one's own state (see MeshRenderState).
Iterator over all the uuids contained in the controller.
Controller visibility (independant from object own visibility).
Hiding a controller will hide all its children without modifying their own visibility.
Protected_One of its objects is selected or unselected (SceneObject.selected).
One of its objects is shown or hidden (SceneObject.visible).
Protected_Shows or hides the anchors and the sprites.
Adds back a whole line removed by removeMeasureLine, its anchors kept.
Inserts the anchor in its line (at its saved index, else last), then adds it.
Whether count objects more can be added: always, but where a limit holds (e.g. planes).
Clears all objects from the controller
A new anchor of measureLine, not added: its command adds it (addObject).
Optionalindex: numberWhere it is inserted in its line; last by default.
A new measure line, without anchors.
Removes its objects' engine objects from the engine scene, then disposes them.
The hidden objects of this controller.
The uuids of the hidden objects of this controller.
The objects of this controller: the iterator of its map, no copy.
The uuids of the objects of this controller: the iterator of its map, no copy.
The visible objects of this controller.
The uuids of the visible objects of this controller.
Returns the object associated with the given uuid if found
The objects of these uuids, in their order; the unknown uuids left out.
The transformations the viewport's gizmo may apply to one of its objects: every one by default; override it to restrict them (e.g. per object).
An object of this controller.
Returns whether the controller has the given uuid
Appends where a ray hits its objects drawn outside the engine to target, those
options.filter keeps; none by default. Its engine objects (meshes, sprites, planes) are hit
by ViewerRaycaster.raycast, which calls it: a controller drawing objects of its own
overrides it.
World frame.
The camera the ray goes through, its world matrices as last drawn.
The query's options.
The hits of the query, appended to (the raycaster sorts them).
Removes a whole line, its anchors kept in it to add it back (addMeasureLine).
Takes the anchor out of its line, its index saved to insert it back, then removes it.
Draws all its objects as renderState says, combined with each one's own state, kept (see
MeshRenderState); nothing when it is unchanged.
ReadonlyupdateSizes every sprite from the camera: called as it moves.
Controller of the measure lines: its objects are their MeasureLineAnchors, each an engine object of the scene's
MeshController(its head and the segment before it), and their sprites engine sprites. Made by theMeasureLinePlugin; makes the lines and anchors (createMeasureLine, createAnchor), added by their commands. Adding or removing an anchor inserts it in its line or takes it out (at its saved index, for undo), the ends of the line drawn as arrows. Sizes the sprites from the camera, as it moves.