Arbor 3: FSM & BT Graph Editor
3.7.8
|
TreeNodeBehaviourを持つノードの基本クラス [詳解]
公開メンバ関数 | |
TreeBehaviourNode (NodeGraph nodeGraph, int nodeID) | |
TreeBehaviourNodeのコンストラクタ [詳解] | |
Object | GetBehaviourObject () |
メインのBehaviourのObjectを取得。 [詳解] | |
Decorator | AddDecorator (System.Type type) |
Decoratorを追加。 [詳解] | |
T | AddDecorator< T > () |
Decoratorを追加。 [詳解] | |
Decorator | InsertDecorator (int index, System.Type type) |
Decoratorを挿入。 [詳解] | |
T | InsertDecorator< T > (int index) |
Decoratorを挿入。 [詳解] | |
Service | AddService (System.Type type) |
Serviceを追加。 [詳解] | |
T | AddService< T > () |
Serviceを追加。 [詳解] | |
Service | InsertService (int index, System.Type type) |
Serviceを挿入。 [詳解] | |
T | InsertService< T > (int index) |
Serviceを挿入。 [詳解] | |
override bool | IsContainsBehaviour (NodeBehaviour behaviour) |
NodeBehaviourを含んでいるかをチェックする。 [詳解] | |
void | MoveDecorator (int fromIndex, TreeBehaviourNode toNode, int toIndex) |
Decoratorの順番を移動する。 [詳解] | |
void | MoveService (int fromIndex, TreeBehaviourNode toNode, int toIndex) |
Serviceの順番を移動する。 [詳解] | |
void | DestroyBehaviour () |
Behaviourを破棄。 [詳解] | |
void | DestroyAllBehaviour () |
全てのBehaviourを破棄。 [詳解] | |
基底クラス TreeNodeBase に属する継承公開メンバ関数 | |
TreeNodeBase (NodeGraph nodeGraph, int nodeID) | |
TreeNodeBaseのコンストラクタ [詳解] | |
abstract bool | HasParentLinkSlot () |
親へのNodeLinkSlotを持っているかどうか [詳解] | |
virtual NodeLinkSlot | GetParentLinkSlot () |
親へのNodeLinkSlotを取得。 [詳解] | |
abstract bool | HasChildLinkSlot () |
子へのNodeLinkSlotを持っているかどうか [詳解] | |
override bool | IsDeletable () |
削除できるかどうかを返す。 [詳解] | |
override string | ToString () |
ノードを文字列に変換(デバッグ用)。 [詳解] | |
基底クラス Node に属する継承公開メンバ関数 | |
Node (NodeGraph nodeGraph, int nodeID) | |
Nodeのコンストラクタ [詳解] | |
virtual string | GetName () |
ノードの名前を取得 [詳解] | |
override string | ToString () |
ノードを文字列に変換(デバッグ用)。 [詳解] | |
限定公開メンバ関数 | |
override void | OnGraphChanged () |
Nodeが所属するNodeGraphが変わった際に呼ばれる。 [詳解] | |
void | SetBehaviour (TreeNodeBehaviour behaviour) |
メインのBehaviourを設定 [詳解] | |
基底クラス TreeNodeBase に属する継承限定公開メンバ関数 | |
abstract void | OnExecute () |
実行する際に呼ばれる。 [詳解] | |
プロパティ | |
TreeNodeBehaviour | behaviour [get] |
メインのBehaviour [詳解] | |
DecoratorList | decoratorList [get] |
Decoratorのリスト [詳解] | |
ServiceList | serviceList [get] |
Serviceのリスト [詳解] | |
bool | breakPoint [get, set] |
Break point. [詳解] | |
基底クラス TreeNodeBase に属する継承プロパティ | |
bool | enablePriority [get] |
ルートノードから辿って接続されていればtrueを返す。 [詳解] | |
int | priority [get] |
ノードの優先順位。 [詳解] | |
BehaviourTreeInternal | behaviourTree [get] |
ビヘイビアツリーを取得。 [詳解] | |
TreeNodeBase | parentNode [get] |
親ノードを取得。 [詳解] | |
NodeStatus | status [get] |
ノードの状態。 [詳解] | |
bool | isActive [get] |
アクティブならtrueを返す。 [詳解] | |
基底クラス Node に属する継承プロパティ | |
NodeGraph | nodeGraph [get] |
NodeGraphを取得。 [詳解] | |
int | nodeID [get] |
ノードIDを取得。 [詳解] | |
その他の継承メンバ | |
基底クラス Node に属する継承公開変数類 | |
Rect | position |
Arbor Editor上での位置。 [詳解] | |
bool | showComment |
コメントを表示するかどうか [詳解] | |
string | nodeComment |
コメント [詳解] | |
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 |
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が変わった際に呼ばれる。
Nodeを再実装しています。
|
protected |
メインのBehaviourを設定
behaviour | Behaviour |
|
get |
メインのBehaviour
|
getset |
Break point.
When this property is true, the editor will be paused when the node becomes active.
|
get |
Decoratorのリスト
|
get |
Serviceのリスト