OptionalbillboardDisables the billboarding behavior of the element. When billboarding is enabled, the element will always be oriented towards the screen.
OptionaldetachedEXPERIMENTAL Indicates if the element is detached from geometry. This property can be used with a CSS selector to modify the appearance of the element when it's detached.
OptionaldetachedEXPERIMENTAL Disables detached testing for this element. Defaults to disabled. When enabled, the elements position will be tested against the current depth buffer. If the position is detached, then the detached attribute will be set.
OptionalinteractionsDisables interaction events from children.
OptionalmatrixThe local matrix of this element.
OptionaloccludedIndicates if the element is hidden by geometry. This property can be used with a CSS selector to modify the appearance of the element when its occluded.
OptionalocclusionDisables occlusion testing for this element. Defaults to enabled. When enabled, the elements position will be tested against the current depth buffer. If the position is occluded, then the occluded attribute will be set.
OptionalonEXPERIMENTAL Dispatched when the detached state is changed.
OptionalonDispatched when the occlusion state is changed.
OptionalonAn event that is emitted when any property on the dom group changes
OptionalpositionThe local 3D position of where this element is located.
OptionalpositionThe local 3D position of where this element is located, as a JSON string. JSON representation can either be in the format of [x, y, z] or {"x": 0, "y": 0, "z": 0}.
OptionalquaternionThe local rotation of this element.
OptionalquaternionThe local quaternion rotation of this element, as a JSON string. JSON representation can either be [x, y, z, w] or {"x": 0, "y": 0, "z": 0, "w": 1}.
OptionalrotationThe local rotation of this element in Euler angles.
OptionalrotationThe local rotation of this element in Euler angles, as a JSON string. JSON representation can either be [x, y, z, order] or {"x": 0, "y": 0, "z": 0, "order": "xyz"}.
OptionalscaleThe local scale of this element.
OptionalscaleThe local scale of this element, as a JSON string. JSON string representation can either be in the format of [x, y, z] or {"x": 0, "y": 0, "z": 0}.
The
ViewerDomElementis responsible for managing a<vertex-viewer-dom-element>element. These elements are intended to be added as children to a<vertex-viewer-dom-renderer>and represent an individual DOM element within a local 3D scene.