Class Overscan
A component that adds overscan to a camera.
Inherited Members
Namespace: Unity.LiveCapture .Cameras
Assembly: Unity.LiveCapture.Cameras.dll
Syntax
[ExecuteAlways]
[DisallowMultipleComponent]
[RequireComponent(typeof(Camera))]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.live-capture@4.0/manual/ref-component-overscan.html")]
public class Overscan : MonoBehaviour
Remarks
This component is used to add overscan to a camera. Overscan is the process of rendering a larger image than the final output resolution and then cropping the image to the desired resolution. This is useful for eliminating edge artifacts that can occur when rendering a camera's view to a texture. This component uses a second camera to render the overscanned image. The overscanned image is then cropped and presented to the camera that this component is attached to. This component is only compatible with the High Definition Render Pipeline.
Properties
OverscanInPixels
The number of pixels to overscan.
Declaration
public int OverscanInPixels { get; set; }
Property Value
Type | Description |
---|---|
int |