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

A Service gene which can have its internal structure mutated. More...

#include <BTGeneratedServiceGene.h>

Inheritance diagram for UBTGeneratedServiceGene:
UBTServiceGene ISaveable UBTNodeGene

Public Member Functions

virtual UBTService * BuildPhenotype (UObject *outer) override
 
void RandomizeAllProperties ()
 
void MutateRandomProperty (float stdDevFractionOfRange)
 
FString GetName ()
 
virtual FString ToString () override
 
virtual UBTServiceGeneDuplicateService (UObject *other) override
 
void DataLoaded ()
 
virtual void DataLoaded_Implementation () override
 
void DataSaved ()
 
virtual void DataSaved_Implementation () override
 
- Public Member Functions inherited from UBTServiceGene
virtual UBTNodeGeneDuplicate (UObject *outer) override
 
- Public Member Functions inherited from UBTNodeGene
virtual void SetServiceInjector (UServiceInjector *serviceInjector)
 
- Public Member Functions inherited from ISaveable
void DataLoaded ()
 
void DataSaved ()
 

Protected Attributes

URandomGenrand
 
- Protected Attributes inherited from UBTNodeGene
UServiceInjectorServiceInjector
 

Additional Inherited Members

- Public Attributes inherited from UBTServiceGene
virtual UBTService * BuildPhenotype (UObject *outer) PURE_VIRTUAL(UBTServiceGene
 
virtual UBTServiceGeneDuplicateService (UObject *other) PURE_VIRTUAL(UBTServiceGene
 
- Public Attributes inherited from UBTNodeGene
virtual FString ToString () PURE_VIRTUAL(UBTNodeGene
 
virtual UBTNodeGeneDuplicate (UObject *outer) PURE_VIRTUAL(UBTNodeGene
 

Detailed Description

A Service gene which can have its internal structure mutated.

Author
jim
Date
11/13/19

These nodes must be created in the editor under the GeneratedTemplateLibrary. When creating a generated node, the property names you define must match the actual names of the properties for the Unreal Engine class you choose. Any property names you add can now be mutated based on type (int, float, bool), and ones that you do not define can not be mutated, and will remain at their default.


The documentation for this class was generated from the following files:
  • Source/EvolvingBehavior/Public/Representation/BTGeneratedServiceGene.h
  • Source/EvolvingBehavior/Private/Representation/BTGeneratedServiceGene.cpp