UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FPrimaryAssetLoadState Struct Reference

Public Member Functions

 FPrimaryAssetLoadState ()=default
 
 FPrimaryAssetLoadState (const FPrimaryAssetLoadState &)=delete
 
 FPrimaryAssetLoadState (FPrimaryAssetLoadState &&Other)
 
FPrimaryAssetLoadStateoperator= (const FPrimaryAssetLoadState &)=delete
 
FPrimaryAssetLoadStateoperator= (FPrimaryAssetLoadState &&Other)
 
 ~FPrimaryAssetLoadState ()
 
bool IsSame (TConstArrayView< FName > InBundleNames, const TOptional< FAssetManagerDownloadParams > &InDownloadParams) const
 
void SetState (TSharedPtr< FStreamableHandle > InHandle, TConstArrayView< FName > InBundleNames, TOptional< FAssetManagerDownloadParams > InDownloadParams)
 
void MoveStateFrom (TSharedPtr< FStreamableHandle > InHandle, FPrimaryAssetLoadState &&InOther)
 
const TSharedPtr< FStreamableHandle > & GetHandle () const UE_LIFETIMEBOUND
 
TConstArrayView< FNameGetBundleNames () const UE_LIFETIMEBOUND
 
bool IsValid () const
 
void Reset (bool bCancelHandle)
 

Detailed Description

Structure defining the current loading state of an asset

Constructor & Destructor Documentation

◆ FPrimaryAssetLoadState() [1/3]

FPrimaryAssetLoadState::FPrimaryAssetLoadState ( )
default

◆ FPrimaryAssetLoadState() [2/3]

FPrimaryAssetLoadState::FPrimaryAssetLoadState ( const FPrimaryAssetLoadState )
delete

◆ FPrimaryAssetLoadState() [3/3]

FPrimaryAssetLoadState::FPrimaryAssetLoadState ( FPrimaryAssetLoadState &&  Other)
inline

◆ ~FPrimaryAssetLoadState()

FPrimaryAssetLoadState::~FPrimaryAssetLoadState ( )
inline

Member Function Documentation

◆ GetBundleNames()

TConstArrayView< FName > FPrimaryAssetLoadState::GetBundleNames ( ) const
inline

◆ GetHandle()

const TSharedPtr< FStreamableHandle > & FPrimaryAssetLoadState::GetHandle ( ) const
inline

◆ IsSame()

bool FPrimaryAssetLoadState::IsSame ( TConstArrayView< FName InBundleNames,
const TOptional< FAssetManagerDownloadParams > &  InDownloadParams 
) const
inline

◆ IsValid()

bool FPrimaryAssetLoadState::IsValid ( ) const
inline

If this state is keeping things in memory

◆ MoveStateFrom()

void FPrimaryAssetLoadState::MoveStateFrom ( TSharedPtr< FStreamableHandle InHandle,
FPrimaryAssetLoadState &&  InOther 
)
inline

◆ operator=() [1/2]

FPrimaryAssetLoadState & FPrimaryAssetLoadState::operator= ( const FPrimaryAssetLoadState )
delete

◆ operator=() [2/2]

FPrimaryAssetLoadState & FPrimaryAssetLoadState::operator= ( FPrimaryAssetLoadState &&  Other)
inline

◆ Reset()

void FPrimaryAssetLoadState::Reset ( bool  bCancelHandle)
inline

Reset this state

◆ SetState()

void FPrimaryAssetLoadState::SetState ( TSharedPtr< FStreamableHandle InHandle,
TConstArrayView< FName InBundleNames,
TOptional< FAssetManagerDownloadParams InDownloadParams 
)
inline

The documentation for this struct was generated from the following file: