MeshLambertMaterial.d.ts 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. import { Color } from './../math/Color';
  2. import { Texture } from './../textures/Texture';
  3. import { MaterialParameters, Material } from './Material';
  4. import { Combine } from '../constants';
  5. export interface MeshLambertMaterialParameters extends MaterialParameters {
  6. color?: Color | string | number;
  7. emissive?: Color | string | number;
  8. emissiveIntensity?: number;
  9. emissiveMap?: Texture;
  10. map?: Texture;
  11. lightMap?: Texture;
  12. lightMapIntensity?: number;
  13. aoMap?: Texture;
  14. aoMapIntensity?: number;
  15. specularMap?: Texture;
  16. alphaMap?: Texture;
  17. envMap?: Texture;
  18. combine?: Combine;
  19. reflectivity?: number;
  20. refractionRatio?: number;
  21. wireframe?: boolean;
  22. wireframeLinewidth?: number;
  23. wireframeLinecap?: string;
  24. wireframeLinejoin?: string;
  25. skinning?: boolean;
  26. morphTargets?: boolean;
  27. morphNormals?: boolean;
  28. }
  29. export class MeshLambertMaterial extends Material {
  30. constructor( parameters?: MeshLambertMaterialParameters );
  31. color: Color;
  32. emissive: Color;
  33. emissiveIntensity: number;
  34. emissiveMap: Texture | null;
  35. map: Texture | null;
  36. lightMap: Texture | null;
  37. lightMapIntensity: number;
  38. aoMap: Texture | null;
  39. aoMapIntensity: number;
  40. specularMap: Texture | null;
  41. alphaMap: Texture | null;
  42. envMap: Texture | null;
  43. combine: Combine;
  44. reflectivity: number;
  45. refractionRatio: number;
  46. wireframe: boolean;
  47. wireframeLinewidth: number;
  48. wireframeLinecap: string;
  49. wireframeLinejoin: string;
  50. skinning: boolean;
  51. morphTargets: boolean;
  52. morphNormals: boolean;
  53. setValues( parameters: MeshLambertMaterialParameters ): void;
  54. }
粤ICP备19079148号