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

    Interface IProvidesPointCloud

    Defines the API for a Point Cloud Provider This functionality provider is responsible for providing a way to get current point cloud data

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

    Methods

    GetPoints()

    Get the current point cloud data

    Declaration
    Dictionary<MarsTrackableId, PointCloudData> GetPoints()
    Returns
    Type Description
    Dictionary<MarsTrackableId, PointCloudData>

    The point cloud data

    StartDetectingPoints()

    Start detecting point clouds. Point cloud detection is enabled on initialization, so this is only necessary after calling StopDetecting.

    Declaration
    void StartDetectingPoints()

    StopDetectingPoints()

    Stop detecting point clouds. This will happen automatically on destroying the session. It is only necessary to call this method to pause plane detection while maintaining camera tracking

    Declaration
    void StopDetectingPoints()

    Events

    PointCloudUpdated

    Callback for point cloud updates Passes the point cloud data as an argument

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