35 lines
1.1 KiB
C++
35 lines
1.1 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "UObject/ObjectMacros.h"
|
|
#include "UObject/Object.h"
|
|
#include "Engine/EngineTypes.h"
|
|
#include "AndroidCameraRuntimeSettings.generated.h"
|
|
|
|
/**
|
|
* Implements the settings for the AndroidCamera plugin.
|
|
*/
|
|
UCLASS(Config = Engine, DefaultConfig)
|
|
class UAndroidCameraRuntimeSettings : public UObject
|
|
{
|
|
GENERATED_UCLASS_BODY()
|
|
|
|
// Enable camera permission in AndroidManifest
|
|
UPROPERTY(EditAnywhere, config, Category = ManifestSettings)
|
|
bool bEnablePermission;
|
|
|
|
// Requires a camera to operate (if true and back-facing and front-facing are false, sets android.hardware.camera.any as required)
|
|
UPROPERTY(EditAnywhere, config, Category = ManifestSettings)
|
|
bool bRequiresAnyCamera;
|
|
|
|
// Requires back-facing camera in AndroidManifest (android.hardware.camera)
|
|
UPROPERTY(EditAnywhere, config, Category = ManifestSettings)
|
|
bool bRequiresBackFacingCamera;
|
|
|
|
// Requires front-facing camera in AndroidManifest (android.hardware.camera.front)
|
|
UPROPERTY(EditAnywhere, config, Category = ManifestSettings)
|
|
bool bRequiresFrontFacingCamera;
|
|
};
|