ReadonlychildrenThe controller handling it while it is in the scene, set when that controller adds it (see
SceneObjectController.addObject); null out of the scene.
The distance shown, in metres.
ReadonlyisReadonlyisWhether the viewport's picking may hit it.
ReadonlyisIndicates whether the object is selectable in the scene
The line it belongs to.
ReadonlyuuidUnique identifier of the object
The index of the anchor whose segment it measures.
Hides it, or shows it again (while it shows a distance).
The colour of its label in place of the default one; null: the default.
Its engine sprite, while in the scene; null out of it.
Whether it is selected; its controller's onObjectSelectedChanged tells a change.
Whether its controller shows the measure lines: hidden with them.
Whether it is shown; its controller's onObjectVisibilityChanged tells a change.
Whether it is shown; its controller's onObjectVisibilityChanged tells a change.
Protected_The colours of its label: its outline in the colour of the axis its segment mostly follows.
Protected_Its size in world units: a dot, or its label.
Protected_Its state for toJson: a subclass adds its own after these.
Protected_The sections of its type for toJson, after its transform: none here.
Protected_Protected_Gives its engine sprite its image, drawn only when it changes (it is placed at each pointer move while an anchor is dragged), and its size.
Protected_Always its label.
Adds its engine sprite to sprites, over every object; nothing when it has one.
The sphere around its bounds (getBoundingBox), written to target.
Removes its engine sprite from sprites; nothing without one.
Everything about it for a debug view (the infobox's 3D data), in sections and in this order:
identity, state, transform, its type's own sections (_getTypeJson: a mesh's
material, edges and engine objects), userData, and its children by name, uuid and type.
Not a persistence format.
Gives it its sizes from the camera, in world units: as a dot, and its width as a label (its height a third of it); the camera's distance to the scene (or its zoom), below which its label is read whole (else a dot).
Its label's width; per unit of its distance to cameraPosition when
given, that distance read wherever it is placed.
OptionalcameraPosition: Vector3The position of a perspective camera, world frame; none for an orthographic one, its label as wide wherever it is.
Shows it as a dot, as its label, or as its label while hovered.
The sprite showing the total length of a measure line, near its last anchor: always its label, in the line's colour (or the colour it is given, e.g. hovered).