Go to the source code of this file.
◆ IMPLEMENT_NODE_ATTRIBUTE_GETTER
| #define IMPLEMENT_NODE_ATTRIBUTE_GETTER |
( |
|
AttributeName, |
|
|
|
AttributeType |
|
) |
| |
Value:
FString GetTypeName()
Definition Casts.h:66
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
◆ IMPLEMENT_NODE_ATTRIBUTE_KEY
Use these macros to create Get/Set/ApplyToAsset for an attribute you want to support in your custom UOD node that derive from UInterchangeBaseNode. The attribute key will be declared under the private access modifier, and the functions are declared under the public access modifier. The class access modifier is public after calling this macro.
- Note
- - The Get will return false if the attribute was never set.
-
- The Set will add the attribute to the storage or update the value if the storage already has this attribute.
-
- The Apply will set a member variable of the AssetType instance. It will apply the value only if the storage contains the attribute key
- Parameters
-
| AttributeName | - The name of the Get/Set functions. For example, if you pass Foo you will end up with GetFoo and SetFoo functions. |
| AttributeType | - This is to specify the type of the attribute: bool, float, FString, or anything else supported by the FAttributeStorage. |
| AssetType | - This is the asset you want to apply the storage value. |
| EnumType | - Optional. Specify only if the AssetType member is an enum so we can type cast it in the apply function (we use uint8 to store the enum value). |
◆ IMPLEMENT_NODE_ATTRIBUTE_SETTER_NODELEGATE
| #define IMPLEMENT_NODE_ATTRIBUTE_SETTER_NODELEGATE |
( |
|
AttributeName, |
|
|
|
AttributeType |
|
) |
| |
◆ INTERCHANGE_BASE_NODE_ADD_ATTRIBUTE
| #define INTERCHANGE_BASE_NODE_ADD_ATTRIBUTE |
( |
|
ValueType | ) |
|
Value:
Definition AttributeStorage.h:497
Definition AttributeStorage.h:67
◆ INTERCHANGE_BASE_NODE_GET_ATTRIBUTE
| #define INTERCHANGE_BASE_NODE_GET_ATTRIBUTE |
( |
|
ValueType | ) |
|
Value:
{ \
} \
} \
return false;
◆ EInterchangeNodeContainerType
| Enumerator |
|---|
| None | |
| TranslatedScene | |
| TranslatedAsset | |
| FactoryData | |
◆ EInterchangeNodeUserInterfaceContext