soonspacejs
Version:
soonspacejs 2.x
12 lines (11 loc) • 502 B
TypeScript
import { MeshBasicMaterial, MeshPhongMaterial, Texture } from 'three';
import { IVector3, PoiMeshOptions } from '../Interface';
import { BaseMesh } from './BaseMesh';
interface PolygonPoiMeshInfo extends PoiMeshOptions {
points: IVector3[];
}
declare class PolygonPoiMesh extends BaseMesh<MeshPhongMaterial | MeshBasicMaterial> {
image: PoiMeshOptions['image'];
constructor(params: PolygonPoiMeshInfo, textureCache?: Map<string, Texture>);
}
export { PolygonPoiMesh, PolygonPoiMeshInfo, };