MeshMatcapMaterial.d.ts 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. import { Color } from './../math/Color';
  2. import { Texture } from './../textures/Texture';
  3. import { Vector2 } from './../math/Vector2';
  4. import { MaterialParameters, Material } from './Material';
  5. import { NormalMapTypes } from '../constants';
  6. export interface MeshMatcapMaterialParameters extends MaterialParameters {
  7. color?: Color | string | number;
  8. matcap?: Texture | null;
  9. map?: Texture | null;
  10. bumpMap?: Texture | null;
  11. bumpScale?: number;
  12. normalMap?: Texture | null;
  13. normalMapType?: NormalMapTypes;
  14. normalScale?: Vector2;
  15. displacementMap?: Texture | null;
  16. displacementScale?: number;
  17. displacementBias?: number;
  18. alphaMap?: Texture | null;
  19. skinning?: boolean;
  20. morphTargets?: boolean;
  21. morphNormals?: boolean;
  22. }
  23. export class MeshMatcapMaterial extends Material {
  24. constructor( parameters?: MeshMatcapMaterialParameters );
  25. color: Color;
  26. matcap: Texture | null;
  27. map: Texture | null;
  28. bumpMap: Texture | null;
  29. bumpScale: number;
  30. normalMap: Texture | null;
  31. normalMapType: NormalMapTypes;
  32. normalScale: Vector2;
  33. displacementMap: Texture | null;
  34. displacementScale: number;
  35. displacementBias: number;
  36. alphaMap: Texture | null;
  37. skinning: boolean;
  38. morphTargets: boolean;
  39. morphNormals: boolean;
  40. setValues( parameters: MeshMatcapMaterialParameters ): void;
  41. }
粤ICP备19079148号