docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Property focalLength

    focalLength

    The focal length in pixels.

    Declaration
    public Vector2 focalLength { get; }
    Property Value
    Type Description
    Vector2

    The focal length in pixels.

    Remarks

    The focal length is the distance between the camera's pinhole and the image plane. In a pinhole camera, the x and y values would be the same, but these can vary for real cameras.

    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Friday, September 22, 2023