Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • VertexViewerDomElement

Index

Properties

billboardOff: boolean

Disables the billboarding behavior of the element. When billboarding is enabled, the element will always be oriented towards the screen.

detached: boolean

EXPERIMENTAL 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 its detached.

example
<style>
vertex-viewer-dom-element[detached] {
opacity: 0;
}
</style>
detachedOff: boolean

EXPERIMENTAL 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.

interactionsOff: boolean

Disables interaction events from children.

matrix: Matrix4

The local matrix of this element.

occluded: boolean

Indicates 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.

example
<style>
vertex-viewer-dom-element[occluded] {
opacity: 0;
}
</style>
occlusionOff: boolean

Disables 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.

position: Vector3

The local 3D position of where this element is located.

positionJson: string

The 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}.

quaternion: Quaternion

The local rotation of this element.

quaternionJson: string

The 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}.

rotation?: Euler

The local rotation of this element in Euler angles.

rotationJson?: string

The 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"}.

scale: Vector3

The local scale of this element.

scaleJson: string

The 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}.