Arbor 3: FSM & BT Graph Editor 3.7.4

Public Member Functions | Properties | List of all members
NodeBranchies Class Reference

List of NodeBranch More...

## Public Member Functions
int | IndexOf (NodeBranch branch)
| Get NodeBranch index. More...
int | GetUniqueBranchID ()
| Get the ID of NodeBranch that is not being used More...
NodeBranch | GetFromID (int branchID)
| Gets Arbor.BehaviourTree.NodeBranch from the branch identifier. More...
void | Add (NodeBranch nodeBranch)
| Add a NodeBranch. More...
bool | Remove (NodeBranch nodeBranch)
| Remove a node. More...

## Properties
int | count`[get]`
| Get a count of NodeBranch. More...
NodeBranch | this[int index]`[get]`
| Get NodeBranch from index. More...

## Detailed Description

List of NodeBranch

## Member Function Documentation

## ◆ Add()

void Add | ( | NodeBranch | nodeBranch | ) |

Add a NodeBranch.

Parameters

  nodeBranch | The NodeBranch to be added.

## ◆ GetFromID()

NodeBranch GetFromID | ( | int | branchID | ) |

Gets Arbor.BehaviourTree.NodeBranch from the branch identifier.

Parameters

  branchID | The branch identifier.

Returns
  Found Arbor.BehaviourTree.NodeBranch. Returns null if not found.

## ◆ GetUniqueBranchID()

int GetUniqueBranchID | ( |  | ) |

Get the ID of NodeBranch that is not being used

## ◆ IndexOf()

int IndexOf | ( | NodeBranch | branch | ) |

Get NodeBranch index.

Parameters

  branch | NodeBranch

Returns
  Index. If not, it returns -1.

## ◆ Remove()

bool Remove | ( | NodeBranch | nodeBranch | ) |

Remove a node.

Parameters

  nodeBranch | The NodeBranch to be removed.

Returns
  Returns true if removed.

## Property Documentation

## ◆ count

int count
| get

Get a count of NodeBranch.

## ◆ this[int index]

NodeBranch this[int index]
| get

Get NodeBranch from index.

Parameters

  index | Index