import { ConstructorProps, ContextManager, Observable } from '@zcomponent/core'; import * as THREE from 'three'; import { Combine, Material } from './Material'; /** * * A material for drawing geometries in a simple shaded (flat or wireframe) way. * * This material is not affected by lights. * * Root element: [THREE.MeshBasicMaterial](https://threejs.org/docs/index.html#api/en/materials/MeshBasicMaterial) * @zcomponent * @zgroup Materials * @zicon material * @ztag three/Material/Mesh/MeshBasicMaterial * @zparents three/Object3D/Mesh/** * @zparents three/Object3D/GLTF * @zparents three/Object3D/Group/** */ export declare class MeshBasicMaterial extends Material { element: THREE.MeshBasicMaterial; constructor(contextManager: ContextManager, props: ConstructorProps); /** * Color of the material, by default set to white. * @zprop * @zgroup MeshBasicMaterial * @zgrouppriority 20 * @ztype color-norm-rgb-linear * @zdefault [1, 1, 1] */ color: Observable<[number, number, number], never>; /** * Intensity of the ambient occlusion effect. * * Zero is no occlusion effect. * @zprop * @zgroup MeshBasicMaterial * @zgrouppriority 20 * @zdefault 1 */ aoMapIntensity: Observable; /** * How to combine the result of the surface's color with the environment map, if any. * @zprop * @zgroup MeshBasicMaterial * @zgrouppriority 20 * @zdefault MultiplyOperation */ combine: Observable; /** * Whether the material is affected by fog. * @zprop * @zgroup MeshBasicMaterial * @zgrouppriority 20 * @zdefault true */ fog: Observable; /** * Intensity of the baked light. * @zprop * @zgroup MeshBasicMaterial * @zgrouppriority 20 * @zdefault 1 */ lightMapIntensity: Observable; /** * How much the environment map affects the surface; also see `.combine`. * * The valid range is between 0 (no reflections) and 1 (full reflections). * @zprop * @zgroup MeshBasicMaterial * @zgrouppriority 20 * @ztype proportion * @zdefault 1 */ reflectivity: Observable; /** * The index of refraction (IOR) of air (approximately 1) divided by the index of refraction of the material. * * It is used with environment mapping modes `THREE.CubeRefractionMapping` and `THREE.EquirectangularRefractionMapping`. * The refraction ratio should not exceed 1 * @zprop * @zgroup MeshBasicMaterial * @zgrouppriority 20 * @ztype proportion * @zdefault 1 */ refractionRatio: Observable; /** * Render geometry as wireframe (i.e. render as flat polygons). * @zprop * @zgroup MeshBasicMaterial * @zgrouppriority 20 * @zdefault false */ wireframe: Observable; }