docs.unity3d.com
    目次を表示する/隠す

    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
    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>
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)