Class FocusPlaneRenderer
A component that provides focus plane visualization.
Namespace: Unity.LiveCapture.VirtualCamera
Syntax
public class FocusPlaneRenderer : MonoBehaviour
Remarks
Each instance is tied to a specific camera.
Methods
SetCamera(Camera)
Sets the camera to use to render the focus plane.
Declaration
public void SetCamera(Camera camera)
Parameters
Type | Name | Description |
---|---|---|
Camera | camera | The camera to set. |
SetFocusDistance(Single)
Sets the focus distance.
Declaration
public void SetFocusDistance(float value)
Parameters
Type | Name | Description |
---|---|---|
Single | value | The focus distance |