Arbor 3: FSM & BT Graph Editor
3.2.0
|
TreeNodeBehaviourを持つノードの基本クラス More...
Public Member Functions | |
TreeBehaviourNode (NodeGraph nodeGraph, int nodeID) | |
TreeBehaviourNodeのコンストラクタ More... | |
Object | GetBehaviourObject () |
メインのBehaviourのObjectを取得。 More... | |
Decorator | AddDecorator (System.Type type) |
Decoratorを追加。 More... | |
T | AddDecorator< T > () |
Decoratorを追加。 More... | |
Decorator | InsertDecorator (int index, System.Type type) |
Decoratorを挿入。 More... | |
T | InsertDecorator< T > (int index) |
Decoratorを挿入。 More... | |
Service | AddService (System.Type type) |
Serviceを追加。 More... | |
T | AddService< T > () |
Serviceを追加。 More... | |
Service | InsertService (int index, System.Type type) |
Serviceを挿入。 More... | |
T | InsertService< T > (int index) |
Serviceを挿入。 More... | |
override bool | IsContainsBehaviour (NodeBehaviour behaviour) |
NodeBehaviourを含んでいるかをチェックする。 More... | |
void | MoveDecorator (int fromIndex, TreeBehaviourNode toNode, int toIndex) |
Decoratorの順番を移動する。 More... | |
void | MoveService (int fromIndex, TreeBehaviourNode toNode, int toIndex) |
Serviceの順番を移動する。 More... | |
void | DestroyBehaviour () |
Behaviourを破棄。 More... | |
void | DestroyAllBehaviour () |
全てのBehaviourを破棄。 More... | |
![]() | |
TreeNodeBase (NodeGraph nodeGraph, int nodeID) | |
TreeNodeBaseのコンストラクタ More... | |
abstract bool | HasParentLinkSlot () |
親へのNodeLinkSlotを持っているかどうか More... | |
virtual NodeLinkSlot | GetParentLinkSlot () |
親へのNodeLinkSlotを取得。 More... | |
abstract bool | HasChildLinkSlot () |
子へのNodeLinkSlotを持っているかどうか More... | |
override bool | IsDeletable () |
削除できるかどうかを返す。 More... | |
override string | ToString () |
ノードを文字列に変換(デバッグ用)。 More... | |
![]() | |
Node (NodeGraph nodeGraph, int nodeID) | |
Nodeのコンストラクタ More... | |
virtual string | GetName () |
ノードの名前を取得 More... | |
override string | ToString () |
ノードを文字列に変換(デバッグ用)。 More... | |
Protected Member Functions | |
override void | OnGraphChanged () |
Nodeが所属するNodeGraphが変わった際に呼ばれる。 More... | |
void | SetBehaviour (TreeNodeBehaviour behaviour) |
メインのBehaviourを設定 More... | |
![]() | |
abstract void | OnExecute () |
実行する際に呼ばれる。 More... | |
Properties | |
TreeNodeBehaviour | behaviour [get] |
メインのBehaviour More... | |
DecoratorList | decoratorList [get] |
Decoratorのリスト More... | |
ServiceList | serviceList [get] |
Serviceのリスト More... | |
![]() | |
bool | enablePriority [get] |
ルートノードから辿って接続されていればtrueを返す。 More... | |
int | priority [get] |
ノードの優先順位。 More... | |
BehaviourTreeInternal | behaviourTree [get] |
ビヘイビアツリーを取得。 More... | |
TreeNodeBase | parentNode [get] |
親ノードを取得。 More... | |
NodeStatus | status [get] |
ノードの状態。 More... | |
bool | isActive [get] |
アクティブならtrueを返す。 More... | |
![]() | |
NodeGraph | nodeGraph [get] |
NodeGraphを取得。 More... | |
int | nodeID [get] |
ノードIDを取得。 More... | |
Additional Inherited Members | |
![]() | |
Rect | position |
Arbor Editor上での位置。 More... | |
bool | showComment |
コメントを表示するかどうか More... | |
string | nodeComment |
コメント More... | |
TreeNodeBehaviourを持つノードの基本クラス
TreeBehaviourNode | ( | NodeGraph | nodeGraph, |
int | nodeID | ||
) |
TreeBehaviourNodeのコンストラクタ
nodeGraph | このノードを持つNodeGraph |
nodeID | ノードID |
Decorator AddDecorator | ( | System.Type | type | ) |
Decoratorを追加。
type | 追加するStateBehaviourの型 |
T AddDecorator< T > | ( | ) |
Decoratorを追加。
T | 追加するDecoratorの型 |
T | : | Decorator |
Service AddService | ( | System.Type | type | ) |
Serviceを追加。
type | 追加するServiceの型 |
T AddService< T > | ( | ) |
Serviceを追加。
T | 追加するServiceの型 |
T | : | Service |
void DestroyAllBehaviour | ( | ) |
全てのBehaviourを破棄。
void DestroyBehaviour | ( | ) |
Behaviourを破棄。
Object GetBehaviourObject | ( | ) |
メインのBehaviourのObjectを取得。
Decorator InsertDecorator | ( | int | index, |
System.Type | type | ||
) |
Decoratorを挿入。
index | 挿入先インデックス |
type | 追加するDecoratorの型 |
T InsertDecorator< T > | ( | int | index | ) |
Decoratorを挿入。
T | 挿入するDecoratorの型 |
index | 挿入先インデックス |
T | : | Decorator |
Service InsertService | ( | int | index, |
System.Type | type | ||
) |
Serviceを挿入。
index | 挿入先インデックス |
type | 追加するServiceの型 |
T InsertService< T > | ( | int | index | ) |
Serviceを挿入。
T | 挿入するServiceの型 |
index | 挿入先インデックス |
T | : | Service |
|
virtual |
NodeBehaviourを含んでいるかをチェックする。
behaviour | チェックするNodeBehaviour |
Reimplemented from Node.
void MoveDecorator | ( | int | fromIndex, |
TreeBehaviourNode | toNode, | ||
int | toIndex | ||
) |
Decoratorの順番を移動する。
fromIndex | 移動させたいインデックス。 |
toNode | 移動先のNode。 |
toIndex | 移動先のインデックス。 |
void MoveService | ( | int | fromIndex, |
TreeBehaviourNode | toNode, | ||
int | toIndex | ||
) |
Serviceの順番を移動する。
fromIndex | 移動させたいインデックス。 |
toNode | 移動先のNode。 |
toIndex | 移動先のインデックス。 |
|
protectedvirtual |
Nodeが所属するNodeGraphが変わった際に呼ばれる。
Reimplemented from Node.
|
protected |
メインのBehaviourを設定
behaviour | Behaviour |
|
get |
メインのBehaviour
|
get |
Decoratorのリスト
|
get |
Serviceのリスト