docs.unity3d.com
    Show / Hide Table of Contents

    Interface IProvidesCameraIntrinsics

    Defines the API for a Camera Intrinsics Provider This functionality provider is responsible for providing information about the intrinsics of the physical camera

    Namespace: Unity.MARS.Providers
    Syntax
    public interface IProvidesCameraIntrinsics : IFunctionalityProvider

    Properties

    FocalLength

    The focal length of the camera, in pixels

    Declaration
    float FocalLength { get; }
    Property Value
    Type Description
    Single

    Methods

    GetFieldOfView()

    Get the field of view of the physical camera

    Declaration
    float? GetFieldOfView()
    Returns
    Type Description
    Nullable<Single>

    The camera field of view

    Events

    FieldOfViewUpdated

    Called when the camera field of view has changed

    Declaration
    event Action<float> FieldOfViewUpdated
    Event Type
    Type Description
    Action<Single>
    Back to top
    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