availableResolutions
Possible WebCamTexture resolutions for this device.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.AudioModule
public Resolution[] availableResolutions { get; }
Remarks
Available on iOS and Android only. Returns null for other platforms.
Note: For webcams with depth data support (those of kind WebCamKind.ColorAndDepth) this array consists of one element only - resolution of the depth data based texture.
Additional Resources: Resolution, WebCamTexture.