Class AspectRatioPresets
Asset that stores lists of presets for aspect ratios.
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.LiveCapture.VirtualCamera
Assembly: Unity.LiveCapture.VirtualCamera.dll
Syntax
[CreateAssetMenu(fileName = "Aspect Ratio Presets", menuName = "Live Capture/Virtual Camera/Aspect Ratio Presets", order = 1)]
[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.