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

    Interface IProvidesCompassHeading

    Defines the API for a Compass Heading Provider This functionality provider is responsible for compass headings

    Inherited Members
    IFunctionalityProvider.LoadProvider()
    IFunctionalityProvider.ConnectSubscriber(Object)
    IFunctionalityProvider.UnloadProvider()
    Namespace: Unity.MARS.Providers
    Syntax
    [MovedFrom("Unity.MARS")]
    public interface IProvidesCompassHeading : IFunctionalityProvider

    Methods

    GetHeading()

    Get the current compass heading

    Declaration
    float GetHeading()
    Returns
    Type Description
    Single

    The compass heading

    Events

    headingUpdated

    Called when the compass heading changes

    Declaration
    event Action<float> headingUpdated
    Event Type
    Type Description
    Action<Single>
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)