Class ARPointCloudManager | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class ARPointCloudManager

    Creates and updates a GameObject under the ARSessionOrigin's TrackablesParent to represent a point cloud.

    When enabled, this component subscribes to pointCloudUpdated event. If this component is disabled, and there are no other subscribers to that event, point clouds will be disabled.

    Inheritance
    System.Object
    ARPointCloudManager
    Namespace: UnityEngine.XR.ARFoundation
    Syntax
    public sealed class ARPointCloudManager : MonoBehaviour

    Properties

    pointCloud

    Getter for the instantiated ARPointCloud.

    Declaration
    public ARPointCloud pointCloud { get; }
    Property Value
    Type Description
    ARPointCloud

    pointCloudPrefab

    Getter/setter for the Point Cloud Prefab.

    Declaration
    public GameObject pointCloudPrefab { get; set; }
    Property Value
    Type Description
    GameObject

    Events

    pointCloudUpdated

    Raised each time the ARPointCloud is updated.

    Declaration
    public event Action<ARPointCloudUpdatedEventArgs> pointCloudUpdated
    Event Type
    Type Description
    Action<ARPointCloudUpdatedEventArgs>
    In This Article
    • Properties
      • pointCloud
      • pointCloudPrefab
    • Events
      • pointCloudUpdated
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023