docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method TryGetFocalLength

    TryGetFocalLength(out float)

    Get the lens focal length of the frame if possible.

    Declaration
    public bool TryGetFocalLength(out float focalLength)
    Parameters
    Type Name Description
    float focalLength

    The lens focal length of the camera frame.

    Returns
    Type Description
    bool

    true if the EXIF data contains the lens focal length of the frame. Otherwise, false. Equal to hasFocalLength.

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