Arbor 3: FSM & BT Graph Editor  3.7.8
NodeBranchies クラス

NodeBranchのリスト [詳解]

公開メンバ関数

int IndexOf (NodeBranch branch)
 NodeBranchのインデックスを取得 [詳解]
 
int GetUniqueBranchID ()
 使用されていないNodeBranchのIDを取得 [詳解]
 
NodeBranch GetFromID (int branchID)
 ブランチIDを指定してArbor.BehaviourTree.NodeBranchを取得する。 [詳解]
 
void Add (NodeBranch nodeBranch)
 NodeBranchを追加する。 [詳解]
 
bool Remove (NodeBranch nodeBranch)
 NodeBranchを取り除く。 [詳解]
 

プロパティ

int count [get]
 NodeBranchの数を取得。 [詳解]
 
NodeBranch this[int index] [get]
 NodeBranchをインデックスから取得 [詳解]
 

詳解

NodeBranchのリスト

メソッド詳解

◆ Add()

void Add ( NodeBranch  nodeBranch)

NodeBranchを追加する。

引数
nodeBranch追加するNodeBranch。

◆ GetFromID()

NodeBranch GetFromID ( int  branchID)

ブランチIDを指定してArbor.BehaviourTree.NodeBranchを取得する。

引数
branchIDブランチID
戻り値
見つかったArbor.BehaviourTree.NodeBranch。見つからなかった場合はnullを返す。

◆ GetUniqueBranchID()

int GetUniqueBranchID ( )

使用されていないNodeBranchのIDを取得

◆ IndexOf()

int IndexOf ( NodeBranch  branch)

NodeBranchのインデックスを取得

引数
branchNodeBranch
戻り値
インデックス。ない場合は-1を返す。

◆ Remove()

bool Remove ( NodeBranch  nodeBranch)

NodeBranchを取り除く。

引数
nodeBranch取り除くNodeBranch。
戻り値
取り除けた場合にtrueを返す。

プロパティ詳解

◆ count

int count
get

NodeBranchの数を取得。

◆ this[int index]

NodeBranch this[int index]
get

NodeBranchをインデックスから取得

引数
indexインデックス