@onerjs/core 8.37.5 → 8.37.7

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.
@@ -354,6 +354,10 @@ export declare abstract class AbstractMesh extends TransformNode implements IDis
354
354
  */
355
355
  get renderingGroupId(): number;
356
356
  set renderingGroupId(value: number);
357
+ /**
358
+ * Control if the material should be rendered
359
+ */
360
+ materialEnabled: boolean;
357
361
  /** Gets or sets current material */
358
362
  get material(): Nullable<Material>;
359
363
  set material(value: Nullable<Material>);
@@ -661,6 +661,10 @@ export class AbstractMesh extends TransformNode {
661
661
  * Gets or sets a boolean indicating that pointer move events must be supported on this mesh (false by default)
662
662
  */
663
663
  this.enablePointerMoveEvents = false;
664
+ /**
665
+ * Control if the material should be rendered
666
+ */
667
+ this.materialEnabled = true;
664
668
  /** Defines color to use when rendering outline */
665
669
  this.outlineColor = Color3.Red();
666
670
  /** Define width to use when rendering outline */