MeshPhysicalMaterial.d.ts 802 B

1234567891011121314151617181920212223242526272829303132333435
  1. import { Texture } from './../textures/Texture';
  2. import { Vector2 } from './../math/Vector2';
  3. import {
  4. MeshStandardMaterialParameters,
  5. MeshStandardMaterial,
  6. } from './MeshStandardMaterial';
  7. import { Color } from './../math/Color';
  8. export interface MeshPhysicalMaterialParameters
  9. extends MeshStandardMaterialParameters {
  10. reflectivity?: number;
  11. clearcoat?: number;
  12. clearcoatRoughness?: number;
  13. sheen?: Color;
  14. clearcoatNormalScale?: Vector2;
  15. clearcoatNormalMap?: Texture | null;
  16. }
  17. export class MeshPhysicalMaterial extends MeshStandardMaterial {
  18. constructor( parameters: MeshPhysicalMaterialParameters );
  19. defines: any;
  20. reflectivity: number;
  21. clearcoat: number;
  22. clearcoatRoughness: number;
  23. sheen: Color | null;
  24. clearcoatNormalScale: Vector2;
  25. clearcoatNormalMap: Texture | null;
  26. }
粤ICP备19079148号