Navigation
API > API/Plugins > API/Plugins/RigVM > API/Plugins/RigVM/RigVMCore
Inheritance Hierarchy
- FRigVMStruct
- FRigVMTrait
References
| Module | RigVM |
| Header | /Engine/Plugins/Runtime/RigVM/Source/RigVM/Public/RigVMCore/RigVMTrait.h |
| Include | #include "RigVMCore/RigVMTrait.h" |
Syntax
USTRUCT ()
struct FRigVMTrait : public FRigVMStruct
Remarks
The base class for all RigVM traits.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FRigVMTrait () |
Destructors
| Type | Name | Description | |
|---|---|---|---|
~FRigVMTrait () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | CanBeAddedToNode
(
URigVMNode* InNode, |
Returns true if this trait can be added to a given node | |
| FString | Returns the display name of the trait | ||
| FString | GetName () |
Returns the name of the trait (the instance of it on the node) | |
| void | GetProgrammaticPins
(
URigVMController* InController, |
Allows the trait to return dynamic pins (parent pin index must be INDEX_NONE or point to a valid index of the parent pin in the OutPinArray) | |
| UScriptStruct * | |||
| void | OnTraitAdded
(
URigVMController* InController, |
Allows the trait to react when added to a node |
Overridden from FRigVMStruct
| Type | Name | Description | |
|---|---|---|---|
| bool | ShouldCreatePinForProperty
(
const FProperty* InProperty |