Navigation
API > API/Plugins > API/Plugins/RigVMDeveloper
An abstract syntax tree var expression represents the definition of mutable memory for a single variable. In C++ the var expression is a variable declaration: int A; The var expression references a pin from the model.
| Name | FRigVMVarExprAST |
| Type | class |
| Header File | /Engine/Plugins/Runtime/RigVM/Source/RigVMDeveloper/Public/RigVMCompiler/RigVMAST.h |
| Include Path | #include "RigVMCompiler/RigVMAST.h" |
Syntax
class FRigVMVarExprAST : public FRigVMExprAST
Inheritance Hierarchy
- FRigVMExprAST → FRigVMVarExprAST
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRigVMVarExprAST
(
const FRigVMVarExprAST& |
Disable copy constructor | RigVMCompiler/RigVMAST.h | |
FRigVMVarExprAST
(
EType InType, |
Default constructor (protected so that only parser can access it) | RigVMCompiler/RigVMAST.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FRigVMVarExprAST() |
Virtual destructor | RigVMCompiler/RigVMAST.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Proxy | FRigVMASTProxy | RigVMCompiler/RigVMAST.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FString GetCPPType() |
Returns the C++ data type of this variable | RigVMCompiler/RigVMAST.h | |
UObject * GetCPPTypeObject() |
Returns the C++ data type object (ustruct / uenum) | RigVMCompiler/RigVMAST.h | |
FString GetDefaultValue() |
Returns the default value on the pin for this variable | RigVMCompiler/RigVMAST.h | |
URigVMPin * GetPin() |
Returns the pin in the model this variable is representing | RigVMCompiler/RigVMAST.h | |
ERigVMPinDirection GetPinDirection() |
Returns the pin direction of this variable (input, output, hidden etc) | RigVMCompiler/RigVMAST.h | |
bool IsEnumValue() |
Returns true if this is a constant enum index | RigVMCompiler/RigVMAST.h | |
bool IsExecuteContext() |
Returns true if this variable is an execute context | RigVMCompiler/RigVMAST.h | |
bool IsGraphVariable() |
Returns true if this variable is a graph variable | RigVMCompiler/RigVMAST.h | |
bool SupportsSoftLinks() |
Returns true if this variable allows links to be "soft", so without a cache / computed value. | RigVMCompiler/RigVMAST.h |
Overridden from FRigVMExprAST
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FRigVMASTProxy & GetProxy() |
Returns the proxy this expression is using | RigVMCompiler/RigVMAST.h | |
virtual bool IsA
(
EType InType |
Overload of the type checking mechanism | RigVMCompiler/RigVMAST.h | |
virtual bool IsConstant() |
Returns true if this expressions is constant (non varying) | RigVMCompiler/RigVMAST.h | |
virtual bool IsVar() |
Returns true if the expression is a var expression | RigVMCompiler/RigVMAST.h |