bimplus-renderer 1.6.114 → 1.6.116

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bimplus-renderer",
3
- "version": "1.6.114",
3
+ "version": "1.6.116",
4
4
  "description": "bim+ renderer",
5
5
  "types": "types/bimplus-renderer.d.ts",
6
6
  "keywords": [
@@ -230,6 +230,15 @@ declare module 'bimplus-renderer' {
230
230
  [key: string]: unknown;
231
231
  }
232
232
 
233
+ export interface CommandPolicy {
234
+ noBubble: boolean;
235
+ noTraverse: boolean;
236
+ }
237
+
238
+ export interface CommandPolicies {
239
+ CommandSelect: CommandPolicy;
240
+ }
241
+
233
242
  export class Viewport3D {
234
243
  constructor(options: {
235
244
  settings: ViewportSettings;
@@ -238,6 +247,11 @@ declare module 'bimplus-renderer' {
238
247
  GPUPick: boolean;
239
248
  api: WebSdk.Api;
240
249
  name: string;
250
+ lookupTextureSize?: number;
251
+ ssaoSupported?: boolean;
252
+ shadowsSupported?: boolean;
253
+ panningScaleFactor?: number;
254
+ commandPolicies?: CommandPolicies;
241
255
  });
242
256
 
243
257
  domElement: HTMLElement;
@@ -288,6 +302,8 @@ declare module 'bimplus-renderer' {
288
302
  getSlideParams(): Scene;
289
303
  getObject(id: string): SelectedObject;
290
304
  getContent(): ViewportContent;
305
+ toggleObjectNode({id:string,visible:boolean}): void;
306
+ toggleObjectNodeOpacity({id:string,opacity:boolean}): void;
291
307
  }
292
308
 
293
309
  export class ViewportSettings {