From eb90e8455af5d7ba800d6b430a16a55c23b474ef Mon Sep 17 00:00:00 2001 From: Don McCurdy Date: Sun, 4 Jun 2023 12:00:17 -0700 Subject: [PATCH] MeshPhysicalMaterial: Add anisotropy property types. (#472) --- .../src/materials/MeshPhysicalMaterial.d.ts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/types/three/src/materials/MeshPhysicalMaterial.d.ts b/types/three/src/materials/MeshPhysicalMaterial.d.ts index 13da40cef..42da0a581 100644 --- a/types/three/src/materials/MeshPhysicalMaterial.d.ts +++ b/types/three/src/materials/MeshPhysicalMaterial.d.ts @@ -39,6 +39,10 @@ export interface MeshPhysicalMaterialParameters extends MeshStandardMaterialPara iridescence?: number | undefined; iridescenceThicknessRange?: [number, number] | undefined; iridescenceThicknessMap?: Texture | null | undefined; + + anisotropy?: number | undefined; + anisotropyRotation?: number | undefined; + anisotropyMap?: Texture | null | undefined; } export class MeshPhysicalMaterial extends MeshStandardMaterial { @@ -193,4 +197,19 @@ export class MeshPhysicalMaterial extends MeshStandardMaterial { * @default null */ iridescenceThicknessMap: Texture | null; + + /** + * @default 0 + */ + anisotropy?: number; + + /** + * @default 0 + */ + anisotropyRotation?: number; + + /** + * @default null + */ + anisotropyMap?: Texture | null; }