Class AspectRatioPresets
Asset that stores lists of presets for aspect ratios.
Inherited Members
UnityEngine.Object.FindObjectsByType(System.Type, UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectsByType(System.Type, UnityEngine.FindObjectsInactive, UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsInactive, UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
UnityEngine.Object.FindFirstObjectByType<T>()
UnityEngine.Object.FindAnyObjectByType<T>()
UnityEngine.Object.FindFirstObjectByType<T>(UnityEngine.FindObjectsInactive)
UnityEngine.Object.FindAnyObjectByType<T>(UnityEngine.FindObjectsInactive)
UnityEngine.Object.FindFirstObjectByType(System.Type)
UnityEngine.Object.FindAnyObjectByType(System.Type)
UnityEngine.Object.FindFirstObjectByType(System.Type, UnityEngine.FindObjectsInactive)
UnityEngine.Object.FindAnyObjectByType(System.Type, UnityEngine.FindObjectsInactive)
Namespace: Unity.LiveCapture.VirtualCamera
Syntax
[CreateAssetMenu(fileName = "Aspect Ratio Presets", menuName = "Live Capture/Virtual Camera/Aspect Ratio Presets", order = 1)]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.live-capture@4.0/manual/ref-asset-aspect-ratio-presets.html")]
[ExcludeFromPreset]
public class AspectRatioPresets : ScriptableObject
Properties
AspectRatios
The array of aspect ratio presets.
Declaration
public AspectRatioPreset[] AspectRatios { get; }
Property Value
| Type | Description |
|---|---|
| AspectRatioPreset[] |
Remarks
This will return a new copy of the array.