import { ConstructorProps, ContextManager, Observable } from '@zcomponent/core'; import * as THREE from 'three'; import { Material } from './Material'; /** * A material for drawing point-style geometries. * * Root element: [THREE.PointsMaterial](https://threejs.org/docs/index.html#api/en/materials/PointsMaterial) * @zcomponent * @zgroup Materials * @zicon material * @ztag three/Material/Points/PointsMaterial * @zparents three/Object3D/Points/** */ export declare class PointsMaterial extends Material { element: THREE.PointsMaterial; /** * Constructs a new line basic material. * @param contextManager - Context manager. * @param props - Properties. */ constructor(contextManager: ContextManager, props: ConstructorProps); /** * The color of the material. * @zprop * @zgroup PointsMaterial * @zgrouppriority 20 * @ztype color-norm-rgb-linear * @zdefault [1, 1, 1] */ color: Observable<[number, number, number], never>; /** * Whether the material is affected by fog. Default is true. * @zprop * @zgroup PointsMaterial * @zgrouppriority 20 * @zdefault true */ fog: Observable; /** * The size of the points in pixels. * @zprop * @zgroup PointsMaterial * @zgrouppriority 20 * @zdefault 1 */ size: Observable; /** * If the points' size should be affected by the camera's distance. * @zprop * @zgroup PointsMaterial * @zgrouppriority 20 * @zdefault true */ sizeAttenuation: Observable; }