import { ConstructorProps, ContextManager, Observable } from '@zcomponent/core'; import * as THREE from 'three'; import { Material } from './Material'; /** * This material can receive shadows, but otherwise is completely transparent. * * Root element: [THREE.ShadowMaterial](https://threejs.org/docs/index.html#api/en/materials/ShadowMaterial) * @zcomponent * @zgroup Materials * @zicon material * @ztag three/Material/Mesh/MeshShadowMaterial * @zparents three/Object3D/Mesh/** * @zparents three/Object3D/GLTF * @zparents three/Object3D/Group/** */ export declare class MeshShadowMaterial extends Material { element: THREE.ShadowMaterial; /** * Constructs a new shadow material. * @param contextManager - Context manager. * @param props - Properties. */ constructor(contextManager: ContextManager, props: ConstructorProps); /** * Color of the material, by default set to black. * @zprop * @zgroup MeshShadowMaterial * @zgrouppriority 20 * @ztype color-norm-rgb-linear * @zdefault [0, 0, 0] */ color: Observable<[number, number, number], never>; /** * Weather the material is affected by fog. * @zprop * @zgroup MeshShadowMaterial * @zgrouppriority 20 * @zdefault true */ fog: Observable; /** * Defines whether this material is transparent. * @zprop * @zgroup Material * @zgrouppriority 10 * @zdefault true */ transparent: Observable; }