Class FrameLines
A Component that displays frame lines which helps visualize the gate crop of the sensor and the aspect ratio crop of the target screen.
Inherited Members
Namespace: Unity.LiveCapture.VirtualCamera
Syntax
[ExecuteAlways]
[DisallowMultipleComponent]
[AddComponentMenu("Live Capture/Virtual Camera/Frame Lines")]
[RequireComponent(typeof(Camera))]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.live-capture@3.0/manual/ref-component-frame-lines.html")]
public class FrameLines : MonoBehaviour
Properties
AspectRatioEnabled
Whether or not to show the crop aspect ratio.
Declaration
public bool AspectRatioEnabled { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
CenterMarkerEnabled
Whether or not to show the center marker.
Declaration
public bool CenterMarkerEnabled { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
CropAspect
The aspect ratio of the crop.
Declaration
public float CropAspect { get; set; }
Property Value
Type | Description |
---|---|
Single |
GateFit
The gate fit mode.
Declaration
public GateFit GateFit { get; set; }
Property Value
Type | Description |
---|---|
GateFit |
GateMaskEnabled
Whether or not to show the crop aspect ratio.
Declaration
public bool GateMaskEnabled { get; set; }
Property Value
Type | Description |
---|---|
Boolean |