30 uint32 bInitiallyVisible:1;
32 struct FLoadLevelInstanceParams
44 FString LongPackageName;
50 const FString* OptionalLevelNameOverride =
nullptr;
56 bool bLoadAsTempPackage =
false;
59 bool bInitiallyVisible =
true;
62 bool bAllowReuseExitingLevelStreaming =
false;
65 UObject* EditorPathOwner =
nullptr;
88 UFUNCTION(BlueprintCallable, Category =
LevelStreaming, meta=(DisplayName =
"Load Level Instance (by Name)", WorldContext=
"WorldContextObject"))
91 UFUNCTION(BlueprintCallable, Category =
LevelStreaming, meta=(DisplayName =
"Load Level Instance (by Object Reference)", WorldContext=
"WorldContextObject"))
98 static ENGINE_API FString GetLevelInstancePackageName(
const FLoadLevelInstanceParams& Params);
105 virtual bool ShouldBeLoaded()
const override {
return bShouldBeLoaded; }
108 ENGINE_API virtual void SetShouldBeLoaded(
bool bShouldBeLoaded)
override;
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127