Ver Fonte

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

Add `isLight: true` class property to Light.d.ts
Mr.doob há 6 anos atrás
pai
commit
f4c30aa3e9
1 ficheiros alterados com 1 adições e 0 exclusões
  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;
   /**