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: number, type: ActiveItemType): void -
Parameters
-
id: number
-
type: ActiveItemType
Returns void
-
setCORGizmo Visible
set Gizmo Transformation Mode
- set
Gizmo Transformation Mode(mode: GizmoTransformationMode): void -
Parameters
-
mode: GizmoTransformationMode
Returns void
-
show Axis Marker
show Box Gizmo
- show
Box Gizmo(properties?: BoxGizmoProperties): 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(size?: Float32Array | [number, number, number], transform?: Float32Array | [number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number]): void -
Parameters
-
Optional
size: Float32Array | [number, number, number] -
Optional
transform: Float32Array | [number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number]
Returns void
-
Returns the properties of the BoxGizmo