Enum Feature
A set of flags representing features available in AR.
Namespace: UnityEngine.XR.ARSubsystems
Syntax
[Flags]
public enum Feature : ulong
Fields
| Name | Description | Value |
|---|---|---|
| AnyCamera | Either camera (WorldFacingCamera or UserFacingCamera). |
|
| AnyLightEstimation | A value with all light estimation related bits set. |
|
| AnyTrackingMode | Any tracking mode (RotationOnly or PositionAndRotation). |
|
| AutoFocus | Auto focus enabled. |
|
| Body2D | 2D human body tracking. See XRHumanBodySubsystem. |
|
| Body3D | 3D human body tracking. See XRHumanBodySubsystem. |
|
| Body3DScaleEstimation | Estimate scale when performing 3D human body tracking, see Body3D. |
|
| Collaboration | Collaborative session. See XRParticipantSubsystem. |
|
| EnvironmentDepth | A feature allowing environment depth iomages to be captured. |
|
| EnvironmentProbes | Environment probes. See XREnvironmentProbeSubsystem. |
|
| FaceTracking | Face detection. See XRFaceSubsystem. |
|
| ImageTracking | Image detection. See XRImageTrackingSubsystem. |
|
| LightEstimationAmbientColor | Light estimation for ambient color. |
|
| LightEstimationAmbientIntensity | Light estimation for ambient intensity. |
|
| LightEstimationAmbientSphericalHarmonics | Light estimation for ambient spherical harmonics. |
|
| LightEstimationMainLightDirection | Light estimation for the main light's direction. |
|
| LightEstimationMainLightIntensity | Light estimation for the main light's intensity. |
|
| MeshClassification | A feature describing classification for Meshing. |
|
| Meshing | A feature describing real-time meshing capability. |
|
| None | No features are selected. |
|
| ObjectTracking | 3D object detection. See XRObjectTrackingSubsystem. |
|
| PeopleOcclusionDepth | People occlusion with depth texture enabled. See XROcclusionSubsystem. |
|
| PeopleOcclusionStencil | People occlusion with stencil texture enabled. See XROcclusionSubsystem. |
|
| PlaneTracking | Plane detection. See XRPlaneSubsystem. |
|
| PointCloud | A feature describing the ability to surface point clouds. |
|
| PositionAndRotation | Both position and rotation tracking, i.e., 6 degrees of freedom. |
|
| Raycast | Instant and Tracked raycasts. |
|
| RotationOnly | Rotation only tracking, i.e., 3 degrees of freedom without positional tracking. |
|
| UserFacingCamera | The user-facing camera. On a phone, this is the front camera. |
|
| WorldFacingCamera | The world-facing camera. On a phone, this is the rear camera. |