Properties
cloneModel
cloneModel: ((name,
options?) => Entity) getResouces
getResouces: (() => {
name?: string;
resource: any;
type?: string;
url?: string;
}[])
Type declaration
- (): {
name?: string;
resource: any;
type?: string;
url?: string;
}[] Returns {
name?: string;
resource: any;
type?: string;
url?: string;
}[]
getResource
getResource: ((name) => any)
getTexture
getTexture: ((name) => Texture)
Type declaration
- (name): Texture
Returns Texture
promises
promises: ((progressCb?) => Promise<any[]>)
Type declaration
- (progressCb?): Promise<any[]>
Parameters
Optional
progressCb: ((percentage, error?) => void)
- (percentage, error?): void
Parameters
percentage: number
Optional
error: any
Returns void
Returns Promise<any[]>
根据模型名称克隆新的模型