public void CopyFrom(ARDensePointCloud target)
        {
            Create(target.capacity);

            BeginUpdate();
            target._points.CopyTo(_points);
            target._normals.CopyTo(_normals);
            target._colors.CopyTo(_colors);
            target._confidences.CopyTo(_confidences);
            count = target.count;
            EndUpdate();
        }
 public PointCloudUpdatedEventArgs(ARDensePointCloud pointCloud, int startIndex, int count)
 {
     this.pointCloud = pointCloud;
     this.startIndex = startIndex;
     this.count      = count;
 }
 protected virtual void Awake()
 {
     pointCloud = GetComponent <ARDensePointCloud>();
 }