Class BestCommentatorCollection
Accessors
count
- get count(): number
Returns number
isAutoPlayNext
- get isAutoPlayNext(): boolean
Returns boolean
- set isAutoPlayNext(value): void
Returns void
Methods
SetGPXEntity
- SetGPXEntity(param): void
Returns void
createGroup
- createGroup(name, description): boolean
Parameters
name: string
description: string
Returns boolean
是否新增成功。
createGroupUI
- createGroupUI(): void
Returns void
deleteGroup
- deleteGroup(name): boolean
Returns boolean
是否刪除成功。
exportBestCommentatorFile
- exportBestCommentatorFile(fileName, indentation): void
Parameters
fileName: string
indentation: boolean
Returns void
exportBestCommentatorJSON
- exportBestCommentatorJSON(indentation): string
Returns string
匯出的JSON。
exportBestCommentatorKML
- exportBestCommentatorKML(): string
Returns string
匯出的KML。
exportBestCommentatorKMLFile
- exportBestCommentatorKMLFile(fileName): void
Returns void
getGroup
- getGroup(name): null | BestCommentatorGroup
最佳解說員群組。
importBestCommentatorFile
- importBestCommentatorFile(file, callback?): void
Parameters
file: File
Optional
callback: (() => void)
Returns void
importBestCommentatorJSON
- importBestCommentatorJSON(json): void
Returns void
importBestCommentatorKML
- importBestCommentatorKML(xml): void
Returns void
importBestCommentatorKMLFile
- importBestCommentatorKMLFile(file, callback?): void
Parameters
file: File
Optional
callback: (() => void)
Returns void
playGroup
- playGroup(name, event?): void
Parameters
name: string
Optional
event: {
onFinish?: (() => void);
onStart?: ((name) => void);
onStop?: (() => void);
}
Optional
onFinish?: (() => void)
Optional
onStart?: ((name) => void)
Optional
onStop?: (() => void)
Returns void
resetShellObject
- resetShellObject(): void
Returns void
stop
- stop(): void
Returns void
最佳解說員的劇本集合,由 TerrainView.bestCommentator 取得。另粒子下雨/煙霧/爆炸效果需要額外載入粒子特效模組方能正常顯示。
Param: terrainView
依存的目標環境。