Arbor 3: FSM & BT Graph Editor 3.6.4

Public Member Functions | List of all members
INodeBehaviourContainer Interface Reference

Interface to use if Node is a NodeBehaviour container More...

Inheritance diagram for INodeBehaviourContainer:

## Public Member Functions
int | GetNodeBehaviourCount ()
| Get count of NodeBehaviour. More...
T | GetNodeBehaviour< T > (int index)
| Get NodeBehaviour More...
void | SetNodeBehaviour (int index, NodeBehaviour behaviour)
| Set NodeBehaviour More...

## Detailed Description

Interface to use if Node is a NodeBehaviour container

## Member Function Documentation

## ◆ GetNodeBehaviour< T >()

T GetNodeBehaviour< T > | ( | int | index | ) |

Get NodeBehaviour

Template Parameters

  T | NodeBehaviour type

Parameters

  index | Index

Returns
  NodeBehaviour

Type Constraints

  T | : | Object |

## ◆ GetNodeBehaviourCount()

int GetNodeBehaviourCount | ( |  | ) |

Get count of NodeBehaviour.

Returns
  Count of NodeBehaviour

## ◆ SetNodeBehaviour()

void SetNodeBehaviour | ( | int | index,
|  | NodeBehaviour | behaviour
| ) |  |

Set NodeBehaviour

Parameters

  index | Index
  behaviour | NodeBehaviour

Since destruction of the NodeBehavior which was originally in the specified index is not guaranteed, refer to each node for addition and deletion.