소스 검색

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.