// // /*===============================================================================
// // Copyright (C) 2025 PhantomsXR Ltd. All Rights Reserved.
// //
// // This file is part of the Phantom.XRMOD.QuestModule.Runtime.
// //
// // The XR-MOD cannot be copied, distributed, or made available to
// // third-parties for commercial purposes without written permission of PhantomsXR Ltd.
// //
// // Contact nswell@phantomsxr.com for licensing requests.
// // ===============================================================================*/
using Phantom.XRMOD.Models.Runtime;
using UnityEngine.XR.ARSubsystems;
namespace Phantom.XRMOD.QuestModule.Runtime
{
///
/// Configuration model for Meta Quest specific features.
///
/// Contains settings for mesh visualization, occlusion preferences, depth modes, and hand removal.
///
///
public class XRConfiguresModel : BaseExperienceConfigModel
{
///
/// Name of the custom mesh visualizer prefab.
///
public string CustomMeshVisualizerName;
//Occlusion
///
/// Whether to enable occlusion.
///
public bool UseOcclusion;
///
/// Whether to enable automatic hand removal in the occlusion map.
///
public bool EnableHandRemoval = true;
///
/// Whether to enable temporal smoothing for environment depth.
///
public bool TemporalSmoothing = true;
///
/// The requested environment depth mode.
///
public EnvironmentDepthMode EnvironmentDepthMode;
///
/// The requested human segmentation depth mode.
///
public HumanSegmentationDepthMode HumanSegmentationDepthMode;
///
/// The requested human segmentation stencil mode.
///
public HumanSegmentationStencilMode HumanSegmentationStencilMode;
///
/// The requested occlusion preference mode.
///
public OcclusionPreferenceMode OcclusionPreferenceMode;
}
}