Enum Feature
A set of flags that represent features available in AR.
Namespace: UnityEngine.XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
Syntax
[Flags]
public enum Feature : ulong
Fields
Name | Description |
---|---|
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. |
CameraTorch | Camera torch mode enabled. |
Collaboration | Collaborative session. See XRParticipantSubsystem. |
EnvironmentDepth | A feature that allows environment depth images to be captured. |
EnvironmentDepthTemporalSmoothing | A feature that applies temporal smoothing to environment depth images. |
EnvironmentProbes | Environment probes. See XREnvironmentProbeSubsystem. |
FaceTracking | Face detection. See XRFaceSubsystem. |
ImageStabilization | Image Stabilization enabled. |
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 that describes classification for Meshing. |
Meshing | A feature that describes 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 that describes the ability to surface point clouds. |
PositionAndRotation | Both position and rotation tracking (that is, 6 degrees of freedom). |
Raycast | Instant and Tracked raycasts. |
RotationOnly | Rotation-only tracking (that is, 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. |