docs.unity3d.com
Search Results for

    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

    Inherited Members
    IFunctionalityProvider.LoadProvider()
    IFunctionalityProvider.ConnectSubscriber(object)
    IFunctionalityProvider.UnloadProvider()
    Namespace: Unity.MARS.Providers
    Assembly: Unity.MARS.Interfaces.dll
    Syntax
    [MovedFrom("Unity.MARS")]
    public interface IProvidesCameraProjectionMatrix : IFunctionalityProvider

    Methods

    GetProjectionMatrix()

    Get the current camera projection matrix

    Declaration
    Matrix4x4? GetProjectionMatrix()
    Returns
    Type Description
    Matrix4x4?

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

    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)