You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
-Fixed plugin project settings UI duplication (settings were displayed twice). #jira UE-204751 #rb erica.stella [CL 30923415 by jeff fisher in ue5-main branch]
42 lines
1.5 KiB
C++
42 lines
1.5 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "UObject/Object.h"
|
|
#include "Logging/LogMacros.h"
|
|
|
|
#include "VisionOSRuntimeSettings.generated.h"
|
|
|
|
DECLARE_LOG_CATEGORY_EXTERN(LogVisionOSRuntimeSettings, Log, All);
|
|
|
|
/**
|
|
* Implements the settings for the VisionOS target platform.
|
|
*/
|
|
UCLASS(config=Engine, defaultconfig)
|
|
class VISIONOSRUNTIMESETTINGS_API UVisionOSRuntimeSettings : public UObject
|
|
{
|
|
public:
|
|
GENERATED_UCLASS_BODY()
|
|
|
|
// Use VisionOS .ini files in the editor
|
|
virtual const TCHAR* GetConfigOverridePlatform() const override
|
|
{
|
|
return TEXT("VisionOS");
|
|
}
|
|
|
|
#if WITH_EDITOR
|
|
virtual void PostEditChangeProperty(struct FPropertyChangedEvent& PropertyChangedEvent) override;
|
|
virtual void PostInitProperties() override;
|
|
#endif // WITH_EDITOR
|
|
|
|
// When building for visionOS, default to Full Immersion mode. If disabled, switches to Window mode. Note: when enabled,
|
|
// the @main struct in UESwift.swift becomes the new main(). Plus, UIApplicationSceneManifest is auto-generation for Info.plist
|
|
UPROPERTY(config, EditAnywhere, Category = Build, Meta = (DisplayName = "Enable visionOS's Immersion Mode (Experimental)", ConfigRestartRequired = true))
|
|
bool bUseSwiftUIMain;
|
|
|
|
// If checked, the Swift/ObjC bridging headers will be created.
|
|
UPROPERTY(config, EditAnywhere, Category = Build, Meta = (DisplayName = "Create Swift/ObjC Bridging Headers", ConfigRestartRequired = true))
|
|
bool bCreateBridgingHeader;
|
|
};
|