docs.unity3d.com
    Show / Hide Table of Contents

    Interface IProvidesCameraProjectionMatrix

    Defines the API for a Camera Projection Matrix Provider This functionality provider is responsible for providing a projection matrix to match the device's physical camera

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

    Methods

    GetProjectionMatrix()

    Get the current camera projection matrix

    Declaration
    Matrix4x4? GetProjectionMatrix()
    Returns
    Type Description
    Nullable<Matrix4x4>

    The current projection matrix-- will be null if no frames have been received yet

    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