This repository has been archived on 2025-04-28. You can view files and clone it, but cannot push or open issues or pull requests.
ARPlusSystem/ARPlusSystem-250418/Library/PackageCache/com.unity.xr.arcore@4.2.10/Runtime/ArCameraConfigTargetFps.cs

41 lines
1.4 KiB
C#
Raw Normal View History

using System;
namespace UnityEngine.XR.ARCore
{
/// <summary>
/// Target camera capture frame rates.
/// </summary>
/// <remarks>
/// The target frame rate represents the maximum or desired frame rate. Actual
/// camera capture frame rates can be lower than the target frame rate under low
/// light conditions in order to accommodate longer exposure times.
/// </remarks>
/// <seealso cref="ArCameraConfigFilter"/>
[Flags]
public enum ArCameraConfigTargetFps
{
/// <summary>
/// Target 30fps camera capture frame rate.
/// </summary>
/// <remarks>
/// Available on all ARCore supported devices.
///
/// Used by <see cref="ArCameraConfigFilter.SetTargetFps"/> and <see cref="ArCameraConfigFilter.GetTargetFps"/>.
/// </remarks>
Fps30 = 0x0001,
/// <summary>
/// Target 60fps camera capture frame rate.
/// </summary>
/// <remarks>
/// Increases power consumption and may increase app memory usage.
///
/// See the [ARCore supported devices](https://developers.google.com/ar/discover/supported-devices) page for a
/// list of devices that currently support 60fps.
///
/// Used by <see cref="ArCameraConfigFilter.SetTargetFps"/> and <see cref="ArCameraConfigFilter.GetTargetFps"/>.
/// </remarks>
Fps60 = 0x0002,
}
}