docs.unity3d.com
    Show / Hide Table of Contents

    Class FocusPlaneRenderer

    A component that provides focus plane visualization.

    Inheritance
    Object
    FocusPlaneRenderer
    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

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023