Parcourir la source

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

Add `isLight: true` class property to Light.d.ts
Mr.doob il y a 6 ans
Parent
commit
f4c30aa3e9
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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;
   /**