Files
VIVE-OpenXR-Unity/com.htc.upm.vive.openxr/Editor/FeatureSets/ViveFeatureSet.cs
2023-06-15 10:10:25 +08:00

35 lines
1.2 KiB
C#

using UnityEditor;
using UnityEditor.XR.OpenXR.Features;
namespace HTC.Vive.OpenXR.Editor
{
[OpenXRFeatureSet(
FeatureSetId = featureSetId,
FeatureIds = new string[]
{
"com.htc.openxr.sceneunderstanding.feature",
"com.htc.openxr.facialtracking.feature",
"com.htc.openxr.feature.input.htcvivecosmos",
"com.company.openxr.handtracking.feature",
"com.htc.openxr.feature.input.htcvivefocus3",
"com.htc.openxr.feature.input.htcvivehandinteraction"
},
DefaultFeatureIds = new string[]
{
"com.htc.openxr.sceneunderstanding.feature",
"com.htc.openxr.facialtracking.feature",
"com.htc.openxr.feature.input.htcvivecosmos",
"com.company.openxr.handtracking.feature",
"com.htc.openxr.feature.input.htcvivefocus3",
"com.htc.openxr.feature.input.htcvivehandinteraction"
},
UiName = "VIVE OpenXR",
Description = "Enable the full suite of features for Vive OpenXR.",
SupportedBuildTargets = new BuildTargetGroup[] { BuildTargetGroup.Standalone }
)]
sealed class VIVEFeatureSet
{
internal const string featureSetId = "com.HTC.openxr.featureset.vive";
}
}