docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum Feature

    A set of flags that represent features available in AR.

    Namespace: UnityEngine.XR.ARSubsystems
    Assembly: solution.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.

    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.

    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.

    Extension Methods

    FeatureExtensions.All(Feature, Feature)
    FeatureExtensions.Any(Feature, Feature)
    FeatureExtensions.Cameras(Feature)
    FeatureExtensions.Count(Feature)
    FeatureExtensions.Intersection(Feature, Feature)
    FeatureExtensions.LightEstimation(Feature)
    FeatureExtensions.None(Feature, Feature)
    FeatureExtensions.SetDifference(Feature, Feature)
    FeatureExtensions.SetEnabled(Feature, Feature, bool)
    FeatureExtensions.SymmetricDifference(Feature, Feature)
    FeatureExtensions.ToStringList(Feature, string)
    FeatureExtensions.TrackingModes(Feature)
    FeatureExtensions.Union(Feature, Feature)
    FeatureExtensions.WithoutCameraOrTracking(Feature)
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)