EvolvingBehavior  0.2.0
 
Loading...
Searching...
No Matches
UChromosomeToBTConverter Class Reference

Converts a UBTChromosome into to an Unreal Behavior Tree. More...

#include <ChromosomeToBTConverter.h>

Inheritance diagram for UChromosomeToBTConverter:
UService

Public Member Functions

UBehaviorTree * Convert (UObject *outer, UBehaviorTree *initialBT, UBTChromosome *chromosome) const
 
- Public Member Functions inherited from UService
virtual void Init (UServiceInjector *injector)
 

Protected Member Functions

void ConvertRootDecorators (UBehaviorTree *behaviorTree, UBTChromosome *chromosome) const
 
void ConvertServices (UBTTaskNodeGene *taskGene, UBTTaskNode *task, UBTCompositeNode *compositeParent, uint16 childIdx, uint16 *ExecutionIndex, uint8 treeDepth) const
 
void ConvertServices (UBTCompositeNodeGene *compositeGene, UBTCompositeNode *composite, uint16 *ExecutionIndex, uint8 treeDepth) const
 
void ConvertDecorators (UBTChildContainerGene *childContainerGene, FBTCompositeChild *childContainer, UBTCompositeNode *compositeParent, uint16 childIdx, uint16 *ExecutionIndex, uint8 treeDepth) const
 
UBTCompositeNode * Convert (UBTCompositeNode *compositeParent, UBTCompositeNodeGene *compositeGene, uint16 *ExecutionIndex, uint8 treeDepth) const
 
UBTTaskNode * Convert (UBTTaskNodeGene *taskGene, UBTCompositeNode *compositeParent, uint16 childIdx, uint16 *ExecutionIndex, uint8 treeDepth) const
 
FBTCompositeChild & InitEmptyCompositeChild (UBTCompositeNode *composite) const
 

Additional Inherited Members

- Protected Attributes inherited from UService
UServiceInjectorserviceInjector
 

Detailed Description

Converts a UBTChromosome into to an Unreal Behavior Tree.

Author
npc
Date
12/01/17

At the moment, this conversion does not support:

  • UDecoratorOps
  • Composite Decorators
  • Subtree Task Nodes

We hope to support these in future versions.


The documentation for this class was generated from the following files: