@ndmspc/ndmvr 1.0.2 → 1.1.0-rc.2
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/ndmvr.d.ts +10 -10
- package/dist/ndmvr.es.js +7082 -5584
- package/dist/ndmvr.umd.js +461 -32
- package/package.json +4 -4
package/dist/ndmvr.d.ts
CHANGED
|
@@ -186,23 +186,23 @@ export declare interface NdmvrConfig {
|
|
|
186
186
|
config?: object;
|
|
187
187
|
}
|
|
188
188
|
|
|
189
|
-
export declare function
|
|
189
|
+
export declare function NdmvrContent(): JSX.Element;
|
|
190
|
+
|
|
191
|
+
export declare function NdmvrEnv({ children, menu, help, browser, showUIExternal, currentConfig, hierarchy, rootNode, hierarchyDocRef, onConfigChange, onUIStateChange, onSelectItem, }: NdmvrEnvProps): JSX.Element;
|
|
190
192
|
|
|
191
193
|
export declare interface NdmvrEnvProps {
|
|
192
194
|
children?: React.ReactNode;
|
|
193
|
-
controlsHelp?: boolean;
|
|
194
|
-
currentConfig?: NdmvrConfig;
|
|
195
|
-
onConfigChange?: ((config: NdmvrConfig) => void) | null;
|
|
196
195
|
menu?: boolean;
|
|
197
196
|
help?: boolean;
|
|
197
|
+
browser?: boolean;
|
|
198
198
|
showUIExternal?: boolean;
|
|
199
|
+
currentConfig?: NdmvrConfig;
|
|
200
|
+
hierarchy?: any;
|
|
201
|
+
rootNode?: any;
|
|
202
|
+
hierarchyDocRef?: React.MutableRefObject<HTMLDivElement>;
|
|
203
|
+
onConfigChange?: ((config: NdmvrConfig) => void) | null;
|
|
199
204
|
onUIStateChange?: (isVisible: boolean) => void;
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
export declare function NdmvrScene({ originRef }: NdmvrSceneProps): JSX.Element;
|
|
203
|
-
|
|
204
|
-
export declare interface NdmvrSceneProps {
|
|
205
|
-
originRef: React.RefObject<THREE.Group>;
|
|
205
|
+
onSelectItem?: (path: string) => void;
|
|
206
206
|
}
|
|
207
207
|
|
|
208
208
|
export declare function RaycasterBridge({ rc, originRef, doubleClickMs, handedness, }: RaycasterBridgeProps): any;
|