UNPKG

soonspacejs

Version:
15 lines (14 loc) 534 B
import { MeshBasicMaterial, MeshPhongMaterial, Texture } from 'three'; import { IVector3, PoiMeshOptions } from '../Interface'; import { BaseMesh } from './BaseMesh'; interface PoiMeshInfo extends PoiMeshOptions { position?: IVector3; rotation?: IVector3; width?: number; height?: number; } declare class PoiMesh extends BaseMesh<MeshPhongMaterial | MeshBasicMaterial> { image: PoiMeshOptions['image']; constructor(params: PoiMeshInfo, textureCache?: Map<string, Texture>); } export { PoiMesh, PoiMeshInfo, };