Ver código fonte

Added missing material typing on Object3D

Jeffrey Lanters 6 anos atrás
pai
commit
807cd8bdff
1 arquivos alterados com 5 adições e 0 exclusões
  1. 5 0
      src/core/Object3D.d.ts

+ 5 - 0
src/core/Object3D.d.ts

@@ -39,6 +39,11 @@ export class Object3D extends EventDispatcher {
   name: string;
   name: string;
 
 
   type: string;
   type: string;
+  
+  /**
+   * The material of the object.
+   */
+  material: Material;
 
 
   /**
   /**
    * Object's parent in the scene graph.
    * Object's parent in the scene graph.