docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class IUsesCameraIntrinsicsMethods

    Inheritance
    object
    IUsesCameraIntrinsicsMethods
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.MARS.Providers
    Assembly: Unity.MARS.Interfaces.dll
    Syntax
    [MovedFrom("Unity.MARS")]
    public static class IUsesCameraIntrinsicsMethods

    Methods

    GetFieldOfView(IUsesCameraIntrinsics)

    Get the field of view of the physical camera

    Declaration
    public static float? GetFieldOfView(this IUsesCameraIntrinsics obj)
    Parameters
    Type Name Description
    IUsesCameraIntrinsics obj
    Returns
    Type Description
    float?

    The camera field of view

    GetFocalLength(IUsesCameraIntrinsics)

    Get the focal length of the camera, in pixels

    Declaration
    public static float GetFocalLength(this IUsesCameraIntrinsics obj)
    Parameters
    Type Name Description
    IUsesCameraIntrinsics obj
    Returns
    Type Description
    float

    The focal length of the camera, in pixels

    SubscribeFieldOfViewUpdated(IUsesCameraIntrinsics, Action<float>)

    Subscribe to the FieldOfViewUpdated event, which is called when the camera field of view has changed

    Declaration
    public static void SubscribeFieldOfViewUpdated(this IUsesCameraIntrinsics obj, Action<float> fieldOfViewUpdated)
    Parameters
    Type Name Description
    IUsesCameraIntrinsics obj
    Action<float> fieldOfViewUpdated

    The delegate to subscribe

    UnsubscribeFieldOfViewUpdated(IUsesCameraIntrinsics, Action<float>)

    Unsubscribe from the FieldOfViewUpdated event, which is called when the camera field of view has changed

    Declaration
    public static void UnsubscribeFieldOfViewUpdated(this IUsesCameraIntrinsics obj, Action<float> fieldOfViewUpdated)
    Parameters
    Type Name Description
    IUsesCameraIntrinsics obj
    Action<float> fieldOfViewUpdated

    The delegate to unsubscribe

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