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

    Interface IProvidesMarsBodyTracking

    Defines the API for a Body Tracking Provider This functionality provider is responsible for body tracking

    Inherited Members
    IFunctionalityProvider.LoadProvider()
    IFunctionalityProvider.ConnectSubscriber(Object)
    IFunctionalityProvider.UnloadProvider()
    Namespace: Unity.MARS.Providers
    Syntax
    public interface IProvidesMarsBodyTracking : IFunctionalityProvider

    Methods

    GetBodies(List<IMarsBody>)

    Get the currently tracked bodies

    Declaration
    void GetBodies(List<IMarsBody> bodies)
    Parameters
    Type Name Description
    List<IMarsBody> bodies

    A list of IMarsBody objects to which the currently tracked bodies will be added

    Events

    BodyAdded

    Called when a body becomes tracked for the first time

    Declaration
    event Action<IMarsBody> BodyAdded
    Event Type
    Type Description
    Action<IMarsBody>

    BodyRemoved

    Called when a tracked body is removed (lost)

    Declaration
    event Action<IMarsBody> BodyRemoved
    Event Type
    Type Description
    Action<IMarsBody>

    BodyUpdated

    Called when a tracked body has updated data

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