Browse Source

Merge pull request #16313 from kohlmannj/light-typedef-isLight

Add `isLight: true` class property to Light.d.ts
Mr.doob 6 năm trước cách đây
mục cha
commit
f4c30aa3e9
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/lights/Light.d.ts

+ 1 - 0
src/lights/Light.d.ts

@@ -12,6 +12,7 @@ export class Light extends Object3D {
 
   color: Color;
   intensity: number;
+	isLight: true;
   receiveShadow: boolean;
   shadow: LightShadow;
   /**