Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FStreamableManager
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UObject * LoadSynchronous
(
const FSoftObjectPath& Target, |
Synchronously load the referred asset and return the loaded object, or nullptr if it can't be found. | Engine/StreamableManager.h | |
T * LoadSynchronous
(
const FSoftObjectPath& Target, |
Typed wrappers | Engine/StreamableManager.h | |
T * LoadSynchronous
(
const TSoftObjectPtr< T >& Target, |
Engine/StreamableManager.h | ||
TSubclassOf< T > LoadSynchronous
(
const TSoftClassPtr< T >& Target, |
Engine/StreamableManager.h |
LoadSynchronous(const FSoftObjectPath &, bool, TSharedPtr< FStreamableHandle > *, UE::FSourceLocation)
Description
Synchronously load the referred asset and return the loaded object, or nullptr if it can't be found. This can be very slow and may stall the game thread for several seconds.
| Name | LoadSynchronous |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/StreamableManager.h |
| Include Path | #include "Engine/StreamableManager.h" |
UObject * LoadSynchronous
(
const FSoftObjectPath & Target,
bool bManageActiveHandle,
TSharedPtr < FStreamableHandle > * RequestHandlePointer,
UE::FSourceLocation Location
)
Parameters
| Name | Remarks |
|---|---|
| Target | Specific asset to load off disk |
| bManageActiveHandle | [optional] If true, the manager will keep the streamable handle active until explicitly released |
| RequestHandlePointer | [optional] If non-null, this will set the handle to the handle used to make this request. This useful for later releasing the handle |
| Location | [optional] Is not intended for direct use, the parameter catches call site source location. That location is used for debug tools output. |
LoadSynchronous(const FSoftObjectPath &, bool, TSharedPtr< FStreamableHandle > *, UE::FSourceLocation)
Description
Typed wrappers
| Name | LoadSynchronous |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/StreamableManager.h |
| Include Path | #include "Engine/StreamableManager.h" |
template<typename T>
T * LoadSynchronous
(
const FSoftObjectPath & Target,
bool bManageActiveHandle,
TSharedPtr < FStreamableHandle > * RequestHandlePointer,
UE::FSourceLocation Location
)
LoadSynchronous(const TSoftObjectPtr< T > &, bool, TSharedPtr< FStreamableHandle > *, UE::FSourceLocation)
| Name | LoadSynchronous |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/StreamableManager.h |
| Include Path | #include "Engine/StreamableManager.h" |
template<typename T>
T * LoadSynchronous
(
const TSoftObjectPtr < T > & Target,
bool bManageActiveHandle,
TSharedPtr < FStreamableHandle > * RequestHandlePointer,
UE::FSourceLocation Location
)
LoadSynchronous(const TSoftClassPtr< T > &, bool, TSharedPtr< FStreamableHandle > *, UE::FSourceLocation)
| Name | LoadSynchronous |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/StreamableManager.h |
| Include Path | #include "Engine/StreamableManager.h" |
template<typename T>
TSubclassOf < T > LoadSynchronous
(
const TSoftClassPtr < T > & Target,
bool bManageActiveHandle,
TSharedPtr < FStreamableHandle > * RequestHandlePointer,
UE::FSourceLocation Location
)