docs.unity3d.com
    显示 / 隐藏目录

    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

    Inherited Members
    IFunctionalityProvider.LoadProvider()
    IFunctionalityProvider.ConnectSubscriber(Object)
    IFunctionalityProvider.UnloadProvider()
    Namespace: Unity.MARS
    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>
    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)