1
This commit is contained in:
@ -427,7 +427,6 @@ export class AppModel extends Monobehiver {
|
||||
* @returns 模型名称,未找到返回 undefined
|
||||
*/
|
||||
findModelNameByMesh(mesh: AbstractMesh): string | undefined {
|
||||
console.log(111111111111);
|
||||
|
||||
const keys = this.modelDic.Keys();
|
||||
for (const key of keys) {
|
||||
@ -711,6 +710,15 @@ export class AppModel extends Monobehiver {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 检查模型是否存在
|
||||
* @param modelId 模型ID
|
||||
* @returns 模型是否存在
|
||||
*/
|
||||
exists(modelId: string): boolean {
|
||||
return this.modelDic.Has(modelId);
|
||||
}
|
||||
|
||||
/**
|
||||
* 应用 transform 到模型
|
||||
* @param modelId 模型ID
|
||||
|
||||
Reference in New Issue
Block a user