@onerjs/core 8.43.4 → 8.43.6

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/Meshes/mesh.d.ts CHANGED
@@ -370,6 +370,11 @@ export declare class Mesh extends AbstractMesh implements IGetSetVerticesData {
370
370
  */
371
371
  get sideOrientation(): number;
372
372
  set sideOrientation(value: number);
373
+ /**
374
+ * Use this property to define if the current mesh is DecimatedMesh
375
+ */
376
+ get isDecimatedMesh(): boolean;
377
+ set isDecimatedMesh(value: boolean);
373
378
  /** @internal */
374
379
  get _effectiveSideOrientation(): number;
375
380
  /**
package/Meshes/mesh.js CHANGED
@@ -245,6 +245,15 @@ export class Mesh extends AbstractMesh {
245
245
  (this._scene.useRightHandedSystem && value === 1) ||
246
246
  (!this._scene.useRightHandedSystem && value === 0);
247
247
  }
248
+ /**
249
+ * Use this property to define if the current mesh is DecimatedMesh
250
+ */
251
+ get isDecimatedMesh() {
252
+ return this._internalMeshDataInfo._isDecimated;
253
+ }
254
+ set isDecimatedMesh(value) {
255
+ this._internalMeshDataInfo._isDecimated = value;
256
+ }
248
257
  /** @internal */
249
258
  get _effectiveSideOrientation() {
250
259
  return this._internalMeshDataInfo._effectiveSideOrientation;