@glowjs/core
Version:
GlowJS数字孪生引擎核心库。
25 lines (24 loc) • 750 B
TypeScript
import { App } from '../core/App';
import { Entity } from './Entity';
import { LeakLine } from './LeakLine';
import { Text3D } from './Text3D';
import { POI } from './POI';
import { Pipe } from './Pipe';
import { VideoFusion } from './VideoFusion';
import { POIPlus } from './poi_plus/POIPlus';
/**
* 其它实体
*/
export type OtherEntity = Text3D | LeakLine | POI | POIPlus | Pipe | VideoFusion;
/**
* 判断实体是否为其它实体
* @param entity 实体
*/
export declare function isOtherEntity(entity: Entity): boolean;
/**
* 创建其它实体对象
* @param app 应用
* @param parent 父亲
* @param json JSON对象
*/
export declare function createOtherEntity(app: App, parent: Entity, json: any): any;