ShadowMaterial.d.ts 490 B

123456789101112131415161718192021222324252627
  1. import { Color } from './../math/Color';
  2. import { MaterialParameters, Material } from './Material';
  3. export interface ShadowMaterialParameters extends MaterialParameters {
  4. color?: Color | string | number;
  5. }
  6. export class ShadowMaterial extends Material {
  7. constructor( parameters?: ShadowMaterialParameters );
  8. /**
  9. * @default 'ShadowMaterial'
  10. */
  11. type: string;
  12. /**
  13. * @default new THREE.Color( 0x000000 )
  14. */
  15. color: Color;
  16. /**
  17. * @default true
  18. */
  19. transparent: boolean;
  20. }
粤ICP备19079148号