@d5techs/3dgs-lib 1.4.9 → 1.4.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/App.d.ts
CHANGED
|
@@ -133,6 +133,7 @@ export declare class App {
|
|
|
133
133
|
frameCurrentModel(animate?: boolean): boolean;
|
|
134
134
|
getTransformGizmo(): import(".").TransformGizmo;
|
|
135
135
|
getViewportGizmo(): import(".").ViewportGizmo;
|
|
136
|
+
setViewportGizmoVisible(visible: boolean): void;
|
|
136
137
|
getBoundingBoxRenderer(): import(".").BoundingBoxRenderer;
|
|
137
138
|
setGizmoMode(mode: GizmoMode): void;
|
|
138
139
|
setUniformScaleOnly(enabled: boolean): void;
|
|
@@ -14,6 +14,7 @@ export declare class ViewportGizmo {
|
|
|
14
14
|
private size;
|
|
15
15
|
private margin;
|
|
16
16
|
private scale;
|
|
17
|
+
private _visible;
|
|
17
18
|
private onAxisClick?;
|
|
18
19
|
private resizeObserver?;
|
|
19
20
|
constructor(_renderer: Renderer, camera: Camera, canvas: HTMLCanvasElement);
|
|
@@ -24,6 +25,8 @@ export declare class ViewportGizmo {
|
|
|
24
25
|
private bindClickEvents;
|
|
25
26
|
private positionContainer;
|
|
26
27
|
private setupResizeObserver;
|
|
28
|
+
get visible(): boolean;
|
|
29
|
+
set visible(v: boolean);
|
|
27
30
|
/**
|
|
28
31
|
* 每帧更新 SVG 位置(从相机视图矩阵中提取轴投影)
|
|
29
32
|
*/
|