Navigation
API > API/Plugins > API/Plugins/AnimNext > API/Plugins/AnimNext/EvaluationVM
References
| Module | AnimNext |
| Header | /Engine/Plugins/Experimental/AnimNext/Source/AnimNext/Public/EvaluationVM/EvaluationProgram.h |
| Include | #include "EvaluationVM/EvaluationProgram.h" |
Syntax
struct FEvaluationProgram
Remarks
Evaluation Program
This struct holds a sequence of evaluation tasks that form a program within our evaluation virtual machine framework. Programs are immutable once written.
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Allow moving. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AppendTask
(
TaskType&& Task |
Appends a new task into the program, tasks mutate state in the order they have been appended in This means that child nodes need to evaluate first, tasks will usually be appended in IEvaluate::PostEvaluate Tasks are moved into their final memory location, caller can allocate the task anywhere, it is no longer needed after this operation | |
| void | Execute
(
FEvaluationVM& VM |
Executes the current program on the provided virtual machine. | |
| bool | IsEmpty () |
Returns whether or not this program is empty. | |
| FString | ToString () |
Returns the program as a string suitable for debug purposes. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FEvaluationProgram & | operator=
(
FEvaluationProgram&& |