docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IProvidesCameraPose

    Defines the API for a Camera Pose Provider This functionality provider is responsible for 3dof/6dof camera tracking data

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

    Methods

    GetCameraPose()

    Get the current camera pose

    Declaration
    Pose GetCameraPose()
    Returns
    Type Description
    Pose

    The current camera pose

    Events

    poseUpdated

    Called when the camera pose changes

    Declaration
    event Action<Pose> poseUpdated
    Event Type
    Type Description
    Action<Pose>

    trackingStateChanged

    Called when the type of tracking changes, for example from 6dof to 3dof

    Declaration
    event Action<MRCameraTrackingState> trackingStateChanged
    Event Type
    Type Description
    Action<MRCameraTrackingState>
    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)