Navigation
API > API/Runtime > API/Runtime/UniversalObjectLocator > API/Runtime/UniversalObjectLocator/FUniversalObjectLocatorFragment
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Default constructor: initializes to an empty fragment with no fragment type | UniversalObjectLocatorFragment.h | ||
FUniversalObjectLocatorFragment
(
const UE::UniversalObjectLocator::FFragmentType& InFragmentType |
Construct a new fragment with a specific fragment type and default-constructed payload. | UniversalObjectLocatorFragment.h | |
FUniversalObjectLocatorFragment
(
const FUniversalObjectLocatorFragment& RHS |
Copy construction/assignment | UniversalObjectLocatorFragment.h | |
| Move construction/assignment | UniversalObjectLocatorFragment.h | ||
FUniversalObjectLocatorFragment
(
UE::UniversalObjectLocator::TFragmentTypeHandle< T > InHandle, |
Construct a new fragment with a specific fragment type and data. | UniversalObjectLocatorFragment.h | |
FUniversalObjectLocatorFragment
(
const UObject* InObject, |
Construct this fragment by binding it to an object within a given context. | UniversalObjectLocatorFragment.h |
FUniversalObjectLocatorFragment()
Description
Default constructor: initializes to an empty fragment with no fragment type
| Name | FUniversalObjectLocatorFragment |
| Type | function |
| Header File | /Engine/Source/Runtime/UniversalObjectLocator/Public/UniversalObjectLocatorFragment.h |
| Include Path | #include "UniversalObjectLocatorFragment.h" |
| Source | /Engine/Source/Runtime/UniversalObjectLocator/Private/UniversalObjectLocatorFragment.cpp |
FUniversalObjectLocatorFragment()
FUniversalObjectLocatorFragment(const UE::UniversalObjectLocator::FFragmentType &)
Description
Construct a new fragment with a specific fragment type and default-constructed payload. Used when a specific type of relative fragment is required.
| Name | FUniversalObjectLocatorFragment |
| Type | function |
| Header File | /Engine/Source/Runtime/UniversalObjectLocator/Public/UniversalObjectLocatorFragment.h |
| Include Path | #include "UniversalObjectLocatorFragment.h" |
| Source | /Engine/Source/Runtime/UniversalObjectLocator/Private/UniversalObjectLocatorFragment.cpp |
FUniversalObjectLocatorFragment
(
const UE::UniversalObjectLocator::FFragmentType & InFragmentType
)
Parameters
| Name | Remarks |
|---|---|
| InFragmentType | The fragment type to use with this fragment |
FUniversalObjectLocatorFragment(const FUniversalObjectLocatorFragment &)
Description
Copy construction/assignment
| Name | FUniversalObjectLocatorFragment |
| Type | function |
| Header File | /Engine/Source/Runtime/UniversalObjectLocator/Public/UniversalObjectLocatorFragment.h |
| Include Path | #include "UniversalObjectLocatorFragment.h" |
| Source | /Engine/Source/Runtime/UniversalObjectLocator/Private/UniversalObjectLocatorFragment.cpp |
FUniversalObjectLocatorFragment
(
const FUniversalObjectLocatorFragment & RHS
)
FUniversalObjectLocatorFragment(FUniversalObjectLocatorFragment &&)
Description
Move construction/assignment
| Name | FUniversalObjectLocatorFragment |
| Type | function |
| Header File | /Engine/Source/Runtime/UniversalObjectLocator/Public/UniversalObjectLocatorFragment.h |
| Include Path | #include "UniversalObjectLocatorFragment.h" |
| Source | /Engine/Source/Runtime/UniversalObjectLocator/Private/UniversalObjectLocatorFragment.cpp |
FUniversalObjectLocatorFragment
(
FUniversalObjectLocatorFragment && RHS
)
FUniversalObjectLocatorFragment(UE::UniversalObjectLocator::TFragmentTypeHandle< T >, ArgTypes &&...)
Description
Construct a new fragment with a specific fragment type and data. Used when a specific type of relative fragment is required.
| Name | FUniversalObjectLocatorFragment |
| Type | function |
| Header File | /Engine/Source/Runtime/UniversalObjectLocator/Public/UniversalObjectLocatorFragment.h |
| Include Path | #include "UniversalObjectLocatorFragment.h" |
template<typename T, typename ... ArgTypes>
FUniversalObjectLocatorFragment
(
UE::UniversalObjectLocator::TFragmentTypeHandle < T > InHandle,
ArgTypes &&... InArgs
)
Parameters
| Name | Remarks |
|---|---|
| InHandle | A typed handle to the fragment type to use for construction. Retrieved from IUniversalObjectLocatorModule::RegisterFragmentType. |
| InArgs | (Optional) Payload construction arguments to be passed to T on construction. Omission implies default construction. |
FUniversalObjectLocatorFragment(const UObject , UObject )
Description
- Construct this fragment by binding it to an object within a given context.
-
This constructor can 'fail' and result in an Empty fragment if no suitable fragment type could be found for the object
| Name | FUniversalObjectLocatorFragment |
| Type | function |
| Header File | /Engine/Source/Runtime/UniversalObjectLocator/Public/UniversalObjectLocatorFragment.h |
| Include Path | #include "UniversalObjectLocatorFragment.h" |
| Source | /Engine/Source/Runtime/UniversalObjectLocator/Private/UniversalObjectLocatorFragment.cpp |
FUniversalObjectLocatorFragment
(
const UObject * InObject,
UObject * Context
)