import { ContextManager } from '@zcomponent/core'; import * as THREE from 'three'; import { BufferGeometry, BufferGeometryConstructorProps } from './BufferGeometry'; /** * Interface for constructor properties of IcosahedronGeometry. */ interface IcosahedronGeometryConstructorProps extends BufferGeometryConstructorProps { /** @zprop * @zdefault 1 */ radius?: number; /** * Default is 0. Setting this to a value greater than 0 adds more vertices making it no longer an icosahedron. * When detail is greater than 1, it's effectively a sphere. * @zprop * @zdefault 0 */ detail?: number; } /** * A Component for generating a icosahedron geometries. * * Root element: [THREE.IcosahedronGeometry](https://threejs.org/docs/#api/en/geometries/IcosahedronGeometry) * * @zcomponent * @zgroup Geometry * @zicon geometry * @ztag three/Geometry/IcosahedronGeometry * @zparents three/Object3D/Mesh/Mesh */ export declare class IcosahedronGeometry extends BufferGeometry { /** * Constructs a IcosahedronGeometry. * @param contextManager - The context manager. * @param props - The properties required to construct a IcosahedronGeometry. */ constructor(contextManager: ContextManager, props: IcosahedronGeometryConstructorProps); } export {};