@jdultra/threedtiles 14.0.24 → 14.0.26

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.
@@ -105,14 +105,48 @@ export class Physics {
105
105
  bodyId: any;
106
106
  }): void;
107
107
  /**
108
- * applyForce({ bodyId, force, worldPoint?, wake = true, impulse = false })
108
+ * applyForce({ bodyId, force, worldPoint?, wake = true, impulse = false, resetForces = false, resetTorques = false })
109
109
  */
110
- applyForce({ bodyId, force, worldPoint, wake, impulse }: {
110
+ applyForce({ bodyId, force, worldPoint, wake, impulse, resetForces, resetTorques }: {
111
111
  bodyId: any;
112
112
  force: any;
113
113
  worldPoint: any;
114
114
  wake?: boolean | undefined;
115
115
  impulse?: boolean | undefined;
116
+ resetForces?: boolean | undefined;
117
+ resetTorques?: boolean | undefined;
118
+ }): void;
119
+ /**
120
+ * applyForces({ bodyId, forces: [[x,y,z],...], worldPoints?: [ [x,y,z]|null ], wake=true, impulse=false, resetForces=false, resetTorques=false })
121
+ */
122
+ applyForces({ bodyId, forces, worldPoints, wake, impulse, resetForces, resetTorques }: {
123
+ bodyId: any;
124
+ forces: any;
125
+ worldPoints: any;
126
+ wake?: boolean | undefined;
127
+ impulse?: boolean | undefined;
128
+ resetForces?: boolean | undefined;
129
+ resetTorques?: boolean | undefined;
130
+ }): void;
131
+ /**
132
+ * applyTorque({ bodyId, torque, wake = true, impulse = false, resetTorques = false })
133
+ */
134
+ applyTorque({ bodyId, torque, wake, impulse, resetTorques }: {
135
+ bodyId: any;
136
+ torque: any;
137
+ wake?: boolean | undefined;
138
+ impulse?: boolean | undefined;
139
+ resetTorques?: boolean | undefined;
140
+ }): void;
141
+ /**
142
+ * applyTorques({ bodyId, torques: [[x,y,z],...], wake=true, impulse=false, resetTorques=false })
143
+ */
144
+ applyTorques({ bodyId, torques, wake, impulse, resetTorques }: {
145
+ bodyId: any;
146
+ torques: any;
147
+ wake?: boolean | undefined;
148
+ impulse?: boolean | undefined;
149
+ resetTorques?: boolean | undefined;
116
150
  }): void;
117
151
  /**
118
152
  * setGravity(gravityOptions)
@@ -27,7 +27,7 @@ export class SplatsMesh extends Mesh<import("three").BufferGeometry<import("thre
27
27
  copyMaterial2D: ShaderMaterial;
28
28
  copyMaterial3D: ShaderMaterial;
29
29
  copyCamera: OrthographicCamera;
30
- copyScene: Scene;
30
+ copyScene: Scene<import("three").Object3DEventMap>;
31
31
  copyQuad: Mesh<PlaneGeometry, ShaderMaterial, import("three").Object3DEventMap>;
32
32
  splatsCPUCuling: boolean;
33
33
  /**
@@ -23,7 +23,7 @@ export class SplatsMeshCompatibility extends Mesh<import("three").BufferGeometry
23
23
  copyMaterial2D: ShaderMaterial;
24
24
  copyMaterial3D: ShaderMaterial;
25
25
  copyCamera: OrthographicCamera;
26
- copyScene: Scene;
26
+ copyScene: Scene<import("three").Object3DEventMap>;
27
27
  copyQuad: Mesh<PlaneGeometry, ShaderMaterial, import("three").Object3DEventMap>;
28
28
  /**
29
29
  * Sets the splats visualization quality where 1 is the maximum quality and 0 is the fastest
@@ -21,7 +21,7 @@ export class SplatsMesh extends Mesh<import("three").BufferGeometry<import("thre
21
21
  copyMaterial2D: ShaderMaterial;
22
22
  copyMaterial3D: ShaderMaterial;
23
23
  copyCamera: OrthographicCamera;
24
- copyScene: Scene;
24
+ copyScene: Scene<import("three").Object3DEventMap>;
25
25
  copyQuad: Mesh<PlaneGeometry, ShaderMaterial, import("three").Object3DEventMap>;
26
26
  updateShaderParams(camera: any): void;
27
27
  dispose(): void;
@@ -21,7 +21,7 @@ export class SplatsMesh extends Mesh<import("three").BufferGeometry<import("thre
21
21
  copyMaterial2D: ShaderMaterial;
22
22
  copyMaterial3D: ShaderMaterial;
23
23
  copyCamera: OrthographicCamera;
24
- copyScene: Scene;
24
+ copyScene: Scene<import("three").Object3DEventMap>;
25
25
  copyQuad: Mesh<PlaneGeometry, ShaderMaterial, import("three").Object3DEventMap>;
26
26
  updateShaderParams(camera: any): void;
27
27
  dispose(): void;
@@ -21,7 +21,7 @@ export class SplatsMesh extends Mesh<import("three").BufferGeometry<import("thre
21
21
  copyMaterial2D: ShaderMaterial;
22
22
  copyMaterial3D: ShaderMaterial;
23
23
  copyCamera: OrthographicCamera;
24
- copyScene: Scene;
24
+ copyScene: Scene<import("three").Object3DEventMap>;
25
25
  copyQuad: Mesh<PlaneGeometry, ShaderMaterial, import("three").Object3DEventMap>;
26
26
  updateShaderParams(camera: any): void;
27
27
  dispose(): void;