Protected_Optional Internal_If this is present, only the objects in this array will be saved in the glb/gltf files, and the object.children array will be ignored. The other properties are expected to be loaded/filled at runtime by default values or from an external asset loaded from IImportResultUserData.rootPath.
Protected_Array with object's children.
The colour of the lines. When not set: the colour of the light for a light, else the colour of the kind (widgetKinds). A change redraws the widget.
Searches through an object and its children, starting with the object itself, and returns the first with a matching id.
Unique number of the object instance. Expects a Integer
Searches through an object and its children, starting with the object itself, and returns the first with a matching name.
String to match to the children's Object3D.name property.
Searches through an object and its children, starting with the object itself, and returns the first with a property that matches the value given.
the property name to search for.
value of the given property.
How the icon is drawn. sprite: the widget has an icon sprite in the scene. dom: the widget has no
sprite, and a DOM overlay draws the icon (WidgetIconOverlay, made by Object3DWidgetsPlugin); a widget used
without the plugin then shows no icon. Set for all widgets with Object3DWidgetsPlugin.iconMode.
The diameter of the icon in CSS pixels. Set for all widgets with Object3DWidgetsPlugin.iconSize.
The kind of the attached object (a light or a camera kind), for the colour of the lines and the icon.
undefined for other objects; those widgets have no icon.
Object's parent in the scene graph.
Dispatches 'objectUpdate' event on object.
Executes the callback on this object and all descendants.
Executes the callback on all ancestors.
Like traverse, but the callback will only be executed for visible objects
An object that can be used to store custom data about the Object3D.
Object gets rendered if true.
Protected_The colour of the lines: color, else the colour of the light for a light, else the colour of the kind
Protected_A material for the lines of a helper: a constant pixel width, not tone mapped, not in the GBuffer or the depth passes (see the material convention in the widgets docs).
Protected_Protected_Protected_A change of an option: update, or once at the end of batchUpdate
Protected_StaticCheckStaticCreate
Fork of CameraHelper from three.js - shows frustum, line of sight and up of the camera - suitable for fast updates - based on frustum visualization in lightgl.js shadowmap example https://github.com/evanw/lightgl.js/blob/master/tests/shadowmap.html