Navigation
API > API/Runtime > API/Runtime/UniversalObjectLocator > API/Runtime/UniversalObjectLocator/FUniversalObjectLocatorFragment
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
T * GetPayloadAs
(
UE::UniversalObjectLocator::TFragmentTypeHandle< T > InType |
Try and retrieve this fragment's payload as a specific type using its fragment type handle | UniversalObjectLocatorFragment.h | |
const T * GetPayloadAs
(
UE::UniversalObjectLocator::TFragmentTypeHandle< T > InType |
Try and retrieve this fragment's payload as a specific type using its fragment type handle | UniversalObjectLocatorFragment.h |
GetPayloadAs(UE::UniversalObjectLocator::TFragmentTypeHandle< T >)
Description
Try and retrieve this fragment's payload as a specific type using its fragment type handle
| Name | GetPayloadAs |
| Type | function |
| Header File | /Engine/Source/Runtime/UniversalObjectLocator/Public/UniversalObjectLocatorFragment.h |
| Include Path | #include "UniversalObjectLocatorFragment.h" |
template<typename T>
T * GetPayloadAs
(
UE::UniversalObjectLocator::TFragmentTypeHandle < T > InType
)
A mutable pointer to the payload, or nullptr if this fragment is empty or of a different type.
Parameters
| Name | Remarks |
|---|---|
| InType | The handle of the fragment type to this payload to. This is returned from IUniversalObjectLocatorModule::RegisterFragmentType on registration. |
GetPayloadAs(UE::UniversalObjectLocator::TFragmentTypeHandle< T >)
Description
Try and retrieve this fragment's payload as a specific type using its fragment type handle
| Name | GetPayloadAs |
| Type | function |
| Header File | /Engine/Source/Runtime/UniversalObjectLocator/Public/UniversalObjectLocatorFragment.h |
| Include Path | #include "UniversalObjectLocatorFragment.h" |
template<typename T>
const T * GetPayloadAs
(
UE::UniversalObjectLocator::TFragmentTypeHandle < T > InType
) const
A mutable pointer to the payload, or nullptr if this fragment is empty or of a different type.
Parameters
| Name | Remarks |
|---|---|
| InType | The handle of the fragment type to this payload to. This is returned from IUniversalObjectLocatorModule::RegisterFragmentType on registration. |