Navigation
API > API/Plugins > API/Plugins/RigVMDeveloper
Represents the result of rendering a code template.
Extends FRigVMCodeTemplate to hold both the rendered content and metadata about the output file. Can be saved to disk via Save().
After rendering:
- Content holds the generated C++ code (inherited from FRigVMCodeTemplate)
- ErrorMessage is set if rendering failed
- bSaved tracks whether Save() was called and succeeded
| Name | FRigVMCodeOutput |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/RigVM/Source/RigVMDeveloper/Public/RigVMCompiler/RigVMCodeTemplate.h |
| Include Path | #include "RigVMCompiler/RigVMCodeTemplate.h" |
Syntax
struct FRigVMCodeOutput : public FRigVMCodeTemplate
Inheritance Hierarchy
- FRigVMCodeTemplate → FRigVMCodeOutput
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bSaved | TOptional< bool > | Tracks save state: unset = not attempted, true = succeeded, false = failed. | RigVMCompiler/RigVMCodeTemplate.h | |
| ErrorMessage | FString | Error message if rendering failed (empty on success). | RigVMCompiler/RigVMCodeTemplate.h | |
| OutputFolder | FString | Directory where the output file should be written. | RigVMCompiler/RigVMCodeTemplate.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Save () |
Writes the rendered content to disk. | RigVMCompiler/RigVMCodeTemplate.h |