UNPKG

@pmndrs/uikit

Version:

Build performant 3D user interfaces with Three.js and yoga.

19 lines (18 loc) 701 B
import { MeshPhongMaterial, MeshPhysicalMaterial } from 'three'; import type { MaterialClass } from './create.js'; export declare class PlasticMaterial extends MeshPhongMaterial { constructor(); } export declare class GlassMaterial extends MeshPhysicalMaterial { constructor(); } export declare class MetalMaterial extends MeshPhysicalMaterial { constructor(); } export declare const materialClasses: { glass: typeof GlassMaterial; metal: typeof MetalMaterial; plastic: typeof PlasticMaterial; }; export type PanelMaterialClass = MaterialClass | keyof typeof materialClasses; export declare function resolvePanelMaterialClassProperty(input: PanelMaterialClass): MaterialClass;