![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Functions | |
| template<typename ValueType > | |
| bool | GetCustomAttribute (const UE::Interchange::FAttributeStorage &Attributes, const UE::Interchange::FAttributeKey &AttributeKey, const FString &OperationName, ValueType &OutAttributeValue) |
| template<typename ValueType > | |
| bool | SetCustomAttribute (UE::Interchange::FAttributeStorage &Attributes, const UE::Interchange::FAttributeKey &AttributeKey, const FString &OperationName, const ValueType &AttributeValue) |
| INTERCHANGECORE_API FProperty * | FindPropertyByPathChecked (TVariant< UObject *, uint8 * > &Container, UStruct *Outer, FStringView PropertyPath) |
Internal Helper to get set custom property for class that derive from UInterchangeBaseNode. This is used by the macro IMPLEMENT_UOD_ATTRIBUTE.
| FProperty * InterchangePrivateNodeBase::FindPropertyByPathChecked | ( | TVariant< UObject *, uint8 * > & | Container, |
| UStruct * | Outer, | ||
| FStringView | PropertyPath | ||
| ) |
Finds a property by name in Outer and supports looking into FStructProperties (embedded structs) with a '.' separating the property names.
| Container | - The container for the property values. If the final property is inside a UScriptStruct, the container will be set to the UScriptStruct instance address. |
| Outer | - The UStruct containing the top level property. |
| PropertyPath | - A dot separated chain of properties. Doesn't support going through external objects. |
| bool InterchangePrivateNodeBase::GetCustomAttribute | ( | const UE::Interchange::FAttributeStorage & | Attributes, |
| const UE::Interchange::FAttributeKey & | AttributeKey, | ||
| const FString & | OperationName, | ||
| ValueType & | OutAttributeValue | ||
| ) |
Retrieve a custom attribute if the attribute exists.
| Attributes | - The attribute storage you want to query for the custom attribute. |
| AttributeKey | - The storage key for the attribute. |
| OperationName | - The name of the operation, in case there is an error. |
| OutAttributeValue | - This is where we store the value we retrieve from the storage. |
| bool InterchangePrivateNodeBase::SetCustomAttribute | ( | UE::Interchange::FAttributeStorage & | Attributes, |
| const UE::Interchange::FAttributeKey & | AttributeKey, | ||
| const FString & | OperationName, | ||
| const ValueType & | AttributeValue | ||
| ) |
Add or update a custom attribute value in the specified storage.
| Attributes | - The attribute storage in which you want to add or update the custom attribute. |
| AttributeKey | - The storage key for the attribute. |
| OperationName | - The name of the operation, in case there is an error. |
| AttributeValue | - The value to add or update in the storage. |