docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CorrectCinemachineOrthoSize

    CorrectCinemachineOrthoSize(float)

    Find a pixel-perfect orthographic size as close to targetOrthoSize as possible. Used by Cinemachine to solve compatibility issues with Pixel Perfect Camera.

    Declaration
    public float CorrectCinemachineOrthoSize(float targetOrthoSize)
    Parameters
    Type Name Description
    float targetOrthoSize

    Orthographic size from the live Cinemachine Virtual Camera.

    Returns
    Type Description
    float

    The corrected orthographic size.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)