Class: BestCommentatorGroup

ov. BestCommentatorGroup

new ov.BestCommentatorGroup()

webgl/ov-BestCommentatorGroup.js, line 5

最佳解說員群組,可根據自己的需要將功能以劇本方式編排,然後照劇本設定演示

Members

name

最佳解說員群組名稱

Properties:
Name Type Description
name String

名稱

Methods

createEntity(name, type)

webgl/ov-BestCommentatorGroup.js, line 50

新增一個最佳解說員的圖素(部分圖素只能透過程式碼加入)

Name Type Description
name String

圖素名稱。

type Number

建立圖素的類型,參考ov.BESTCOMMENTATOR_ENTITY_TYPE。

createEntityUI()

webgl/ov-BestCommentatorGroup.js, line 204

顯示建立命令實體的對話框

deleteEntity(id)

webgl/ov-BestCommentatorGroup.js, line 402

刪除圖素

Name Type Description
id ov.BestCommentatorEntity

刪除id為指定值或是指定名稱的圖素

entityDownward(id)

webgl/ov-BestCommentatorGroup.js, line 423

下移圖素

Name Type Description
id ov.BestCommentatorEntity

下移指定的圖素id

entityUpward(id)

webgl/ov-BestCommentatorGroup.js, line 413

上移圖素

Name Type Description
id ov.BestCommentatorEntity

上移指定的圖素id

play()

webgl/ov-BestCommentatorGroup.js, line 543

呼叫撥放

playStartAt(entity)

webgl/ov-BestCommentatorGroup.js, line 536

從指定的實體開始撥放

Name Type Description
entity ov.BestCommentatorEntity

resetShellObject()

webgl/ov-BestCommentatorGroup.js, line 36

依照核心引擎的狀態將殼層物件重設

showEntityPropertyUI(entity)

webgl/ov-BestCommentatorGroup.js, line 485

在屬性視窗顯示旗下的指定圖素屬性

Name Type Description
entity ov.BestCommentatorEntity

指定的最佳解說員實體

showGroupPropertyUI()

webgl/ov-BestCommentatorGroup.js, line 432

在屬性視窗顯示群組自身的屬性

stop()

webgl/ov-BestCommentatorGroup.js, line 550

停止撥放