ViewerGizmoAPI#
Interface ViewerGizmoAPI
Hierarchy
- ViewerGizmoAPI
Index
Methods
Methods
create Collection From Gizmo
get Active Item
- get
Active Item(): ActiveItemInfo -
Returns ActiveItemInfo
get Available Gizmo Transformation Modes
get Box Gizmo Properties
- get
Box Gizmo Properties(): BoxGizmoProperties -
Returns BoxGizmoProperties
The properties of the BoxGizmo
get Current Gizmo Type
get Gizmo Size
get Gizmo Transform
- get
Gizmo Transform(): Float32Array | [number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number] -
Returns Float32Array | [number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number]
get Gizmo Transformation Mode
- get
Gizmo Transformation Mode(): GizmoTransformationMode -
Returns GizmoTransformationMode
hide All Line Markers
hide All Markers
hide All Point Markers
hide Gizmo
hide Point Marker
set Active Item
- set
Active Item(id, type): void -
Parameters
-
id: number
-
type: ActiveItemType
Returns void
-
setCORGizmo Visible
set Gizmo Transformation Mode
- set
Gizmo Transformation Mode(mode): void -
Parameters
-
mode: GizmoTransformationMode
Returns void
-
show Axis Marker
show Box Gizmo
- show
Box Gizmo(properties?): void -
Shows the BoxGizmo based on the specified properties. If the BoxGizmo is already visible the specified properties will be updated.
Parameters
-
Optional
properties: BoxGizmoPropertiesThe properties of the BoxGizmo.
Returns void
-
show Clipping Box Gizmo
show Point Marker
show Selection Box Gizmo
show Selection Box Gizmo From Volume
- show
Selection Box Gizmo From Volume(volume?): void -
Parameters
-
Optional
volume: BoxVolume
Returns void
-
Returns the properties of the BoxGizmo