浏览代码

Added missing material typing on Object3D

Jeffrey Lanters 6 年之前
父节点
当前提交
807cd8bdff
共有 1 个文件被更改,包括 5 次插入0 次删除
  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;
 
   type: string;
+  
+  /**
+   * The material of the object.
+   */
+  material: Material;
 
   /**
    * Object's parent in the scene graph.