Internal
Internal
rendererCollection of renderer objects that control visibility, highlighting, selection, X-ray effects, and color adjustments for SceneObjects within this Renderer.
Internal
Attaches a SceneModel to this Renderer.
This method establishes rendering hooks for the SceneModel’s elements, allowing real-time state updates.
The SceneModel to attach.
void
if successful.
Internal
Begins snapshot mode for the given View.
The View index. This matches !View.viewIndex | View.viewIndex on a View that is currently attached to this Renderer.
Optional
params: { height: number; width: number }Snapshot configuration.
Internal
Clears the Renderer for the specified View.
The View index. This matches !View.viewIndex | View.viewIndex on a View that is currently attached to this Renderer.
void
if successful.
Internal
Detaches the specified SceneModel from this Renderer.
Cleans up associated rendering resources.
The SceneModel to detach.
void
if successful.
Internal
Retrieves the rendering capabilities of this Renderer.
An object to store the retrieved capabilities.
Internal
Checks if a new frame needs to be rendered for the specified attached View.
The View index. This matches !View.viewIndex | View.viewIndex on a View that is currently attached to this Renderer.
boolean
indicating if rendering is required.
Internal
Performs object picking within a View.
The View index. This matches !View.viewIndex | View.viewIndex on a View that is currently attached to this Renderer.
Picking parameters.
Optional
pickResult: PickResultOptional pre-allocated PickResult.
A PickResult or if object successfully picked.
Internal
Renders a frame for the specified View.
The View index. This matches !View.viewIndex | View.viewIndex on a View that is currently attached to this Renderer.
Rendering parameters.
void
if successful.
Internal
Enables or disables edge enhancement for the specified attached View.
The View index. This matches !View.viewIndex | View.viewIndex on a View that is currently attached to this Renderer.
Whether to enable edge enhancement.
void
if successful.
Internal
Requests a new frame to be rendered for the given View.
Optional
viewIndex: numberThe View index. This matches !View.viewIndex | View.viewIndex on a View that is currently attached to this Renderer.
void
if successful.
Internal
Triggers a shader rebuild for the specified View.
The View index. This matches !View.viewIndex | View.viewIndex on a View that is currently attached to this Renderer.
void
if successful.
Internal
Enables or disables Physically-Based Rendering (PBR) for the specified attached View.
The View index. This matches !View.viewIndex | View.viewIndex on a View that is currently attached to this Renderer.
Whether to enable PBR.
void
if successful.
Internal
Enables or disables Screen Space Ambient Occlusion (SAO) for the specified attached View.
The View index. This matches !View.viewIndex | View.viewIndex on a View that is currently attached to this Renderer.
Whether to enable SAO.
void
if successful.
Internal
Toggles the rendering of transparent objects for a specified View.
The View index. This matches !View.viewIndex | View.viewIndex on a View that is currently attached to this Renderer.
Determines whether transparency is enabled.
void
if successful.
Interface defining the rendering strategy used internally by a Viewer.
A Viewer integrates with an implementation of this interface to manage and render geometry and materials using a supported browser 3D graphics API, such as WebGL or WebGPU.
Example Usage