2
0

MeshPhysicalMaterial.d.ts 905 B

123456789101112131415161718192021222324252627282930313233343536373839
  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. transparency?: number;
  17. }
  18. export class MeshPhysicalMaterial extends MeshStandardMaterial {
  19. constructor( parameters: MeshPhysicalMaterialParameters );
  20. clearcoat: number;
  21. clearcoatMap: Texture | null;
  22. clearcoatRoughness: number;
  23. clearcoatRoughnessMap: Texture | null;
  24. clearcoatNormalScale: Vector2;
  25. clearcoatNormalMap: Texture | null;
  26. reflectivity: number;
  27. sheen: Color | null;
  28. transparency: number;
  29. }