Navigation
API > API/Plugins > API/Plugins/RigVM
The base class for all RigVM traits.
| Name | FRigVMTrait |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/RigVM/Source/RigVM/Public/RigVMCore/RigVMTrait.h |
| Include Path | #include "RigVMCore/RigVMTrait.h" |
Syntax
USTRUCT ()
struct FRigVMTrait : public FRigVMStruct
Inheritance Hierarchy
- FRigVMStruct → FRigVMTrait
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRigVMTrait() |
RigVMCore/RigVMTrait.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FRigVMTrait() |
RigVMCore/RigVMTrait.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Name | FString | The name of the trait on the node. | RigVMCore/RigVMTrait.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanBeAddedToNode
(
URigVMNode* InNode, |
Returns true if this trait can be added to a given node | RigVMCore/RigVMTrait.h | |
virtual FString GetDisplayName() |
Returns the display name of the trait | RigVMCore/RigVMTrait.h | |
FString GetName() |
Returns the name of the trait (the instance of it on the node) | RigVMCore/RigVMTrait.h | |
virtual 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) | RigVMCore/RigVMTrait.h | |
virtual UScriptStruct * GetTraitSharedDataStruct() |
RigVMCore/RigVMTrait.h | ||
virtual void OnTraitAdded
(
URigVMController* InController, |
Allows the trait to react when added to a node | RigVMCore/RigVMTrait.h |
Overridden from FRigVMStruct
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool ShouldCreatePinForProperty
(
const FProperty* InProperty |
RigVMCore/RigVMTrait.h |