Optional ReadonlyannotationsOptionalcameraEnables or disables the default mouse and touch interactions provided by the viewer. Enabled by default.
OptionalcameraThe type of camera model to represent the scene with. Can be either perspective or orthographic, and defaults to perspective.
Optional ReadonlycanvasesThe controller for accessing canvases and their associated markup.
OptionalclientThe Client ID associated with your Vertex Application.
OptionalconfigAn object or JSON encoded string that defines configuration settings for the viewer.
OptionalconfigSets the default environment for the viewer. This setting is used for auto-configuring network hosts.
Use the config property for manually setting hosts.
OptionalcrossSpecifies options related to presentation of cross-sections. Defaults to showing the cross-section with an end cap that matches the part color.
OptionaldepthSpecifies when a depth buffer is requested from rendering. Possible values are: * undefined: A depth buffer is never requested.
final: A depth buffer is only requested on the final frame.
all: A depth buffer is requested for every frame.
Depth buffers can increase the amount of data that's sent to a client and can impact rendering performance. Values of undefined or final should be used when needing the highest rendering performance. Some features, like measurement and pins, require that depth buffers are requested and will override an 'undefined' value when the feature is active.
OptionaldeviceProperty used for internals or testing.
OptionalenableSpecifies whether to enable temporal refinement of still images.
OptionalexperimentalSpecifies experimental rendering options. For Vertex use only.
OptionalexperimentalExperimental flag indicating that connections to Vertex should be established if the viewer is initially hidden through its own style or computed style, or has not been scrolled into view.
Caution: Setting this flag can result in reduced performance, and should generally not be used in a production setting.
OptionalfeatureSpecifies how selected features should be highlighted.
OptionalfeatureSpecifies if and how to render feature lines.
OptionalfeatureSpecifies when a feature map is returned from rendering. Feature maps include information about the surfaces, edges and cross-sections that are in a frame.
Possible values are: * undefined: A feature map is never requested.
final: A feature map is only requested on the final frame.
all: A feature map is requested for every frame.
Feature maps can increase the amount of data that's sent to a client and can impact rendering performance. Values of undefined or final should be used when needing the highest rendering performance.
Optional ReadonlyframeThe last frame that was received, which can be used to inspect the scene and camera information.
OptionalkeyboardEnables or disables the default keyboard shortcut interactions provided by the viewer. Enabled by default, requires cameraControls being enabled.
Optional ReadonlymodelThe controller for accessing model views associated with the scene view.
OptionalnoSpecifies whether to use the default lights for the scene. When false, default lights are used. When true, no default lights are used, and the lights must be specified separately.
OptionalonEmits an event when the state for annotation changes.
OptionalonEmits an event when the camera type changes.
OptionalonEmits an event when the connection status changes for the viewer
OptionalonUsed for internals or testing.
OptionalonOptionalonEmits an event whenever the user double taps or clicks a location in the viewer. The event includes the location of the first tap or click.
OptionalonEmits an event when a frame has been drawn to the viewer's canvas. The event will include details about the drawn frame, such as the Scene information related to the scene.
OptionalonEmits an event when a frame has been received by the viewer. The event will include details about the drawn frame, such as the Scene information related to the scene.
OptionalonEmits an event when the user hs finished an interaction.
OptionalonEmits an event when the user has started an interaction.
OptionalonEmits an event whenever the user taps or clicks a location in the viewer and the configured amount of time passes without receiving a mouseup or touchend. The event includes the location of the tap or click.
OptionalonEmits an event when a frame is received with a different scene attribute.
OptionalonEmits an event when the scene is ready to be interacted with.
OptionalonEmits an event whenever the user taps or clicks a location in the viewer. The event includes the location of the tap or click.
This event can be used in combination with the scene method to query for items at the point of the tap.
Scene.raycaster for more information.
OptionalonEmits an event when a provided oauth2 token is about to expire, or is about to expire, causing issues with establishing a websocket connection, or performing API calls.
OptionalphantomSpecifies how phantom parts should appear. The opacity must be between 0 and 1, where 0 is completely hidden and 1 is completely visible.
Optional ReadonlypmiThe controller for accessing and viewing PMI.
OptionalresizeAn optional value that will debounce frame updates when resizing this viewer element.
OptionalresolvedOptionalrotateSets the rotation interaction behavior. True by default.
When rotateAroundTapPoint is true and the user clicks on geometry, then the model will rotate around the point that was clicked. When rotateAroundTapPoint is true and the user clicks in empty space (not on geometry), then the model will rotate around the center of the viewport.
When rotateAroundTapPoint is false, then the model will always rotate around the center of the viewport.
OptionalsceneSpecifies if and how to compare to another scene
Optional ReadonlysceneThe controller for accessing and viewing SceneItems.
OptionalselectionSpecifies the halo selection properties. Parameter notes:
lineWidth values supported currently are 0-5. This width is currently the value x2. For example, 1 will have a pixel width of 2.
color is optional. This will be the color of the selected items in the viewer.
opacity is also optional. The opacity will be applied to everything selected besides the highlighted outer line.
OptionalsrcA URN of the scene resource to load when the component is mounted in the DOM tree. The specified resource is a URN in the following format: * urn:vertex:scene:<sceneid>
OptionalstencilOptionalstreamOptionaltokenA token that can be used to make API calls to other Vertex services.
OptionalviewportRepresents the current viewport of the viewer. The viewport represents the dimensions of the canvas where a frame is rendered. It contains methods for translating between viewport coordinates, frame coordinates and world coordinates.
The annotation controller for accessing annotations associated with the scene view.