ProtectedcfgProtectednameThe managed THREE.Object3D instance for this object. It is null until a scene object is assigned.
The active Three.js renderer used by this object. It is exposed for advanced use cases that require renderer-dependent Three.js APIs, such as reading the canvas size, pixel ratio, drawing buffer size, or updating renderer-based helper objects like cube cameras.
The THREE.Scene instance this object belongs to.
Registers a listener that is called whenever the specified event occurs.
The event type to listen for.
Callback invoked when the event occurs.
A function that unsubscribes the listener.
Returns the object's screen position in canvas coordinates.
Camera used for projection to canvas coordinates.
The projected screen position in canvas coordinates, or null if no THREE.Object3D is assigned.
Called once after the THREE.Scene, the THREE.WebGLRenderer or THREE.WebGPURenderer, the EnvCtrls are initialized and an existing GLTF model has been loaded and traversed.
Called once after the THREE.Scene is initialized, before an existing GLTF model is loaded.
Called once for each traversed child during GLTF parsing. Stores the currently traversed THREE.Object3D instance in this.obj.
The traversed THREE.Object3D instance.
Called on every animation frame update.
Time elapsed since the previous frame in seconds.
Removes a previously registered listener for the specified event.
The event type to remove the listener from.
Callback to remove from the event listeners.
Wraps a
THREE.Object3Dand provides lifecycle hooks, scene integration, animation support, and position-, rotation- and visibility-change events. Extend this class to implement custom object behavior.