PointsMaterial.d.ts 674 B

123456789101112131415161718192021222324252627
  1. import { Material, MaterialParameters } from './Material';
  2. import { Color } from './../math/Color';
  3. import { Texture } from './../textures/Texture';
  4. export interface PointsMaterialParameters extends MaterialParameters {
  5. color?: Color | string | number;
  6. map?: Texture | null;
  7. alphaMap?: Texture | null;
  8. size?: number;
  9. sizeAttenuation?: boolean;
  10. morphTargets?: boolean;
  11. }
  12. export class PointsMaterial extends Material {
  13. constructor( parameters?: PointsMaterialParameters );
  14. color: Color;
  15. map: Texture | null;
  16. alphaMap: Texture | null;
  17. size: number;
  18. sizeAttenuation: boolean;
  19. morphTargets: boolean;
  20. setValues( parameters: PointsMaterialParameters ): void;
  21. }
粤ICP备19079148号