docs.unity3d.com
    Show / Hide Table of Contents

    Class PointCloud

    Used to contain a point cloud compatible with the SensorSDK PointCloudViewer. The X,Y,Z data is stored into a 2DTexture used as a simple 1DBuffer.

    Inheritance
    Object
    ExchangeBuffer
    GenericBuffer<PointXYZI>
    PointCloud
    Inherited Members
    GenericBuffer<PointXYZI>.Item[Int32]
    GenericBuffer<PointXYZI>.GetInternalBuffer()
    GenericBuffer<PointXYZI>.CopyFrom(PointXYZI[], Int32)
    GenericBuffer<PointXYZI>.AsyncReadback(Action<NativeArray<PointXYZI>>)
    GenericBuffer<PointXYZI>._data
    GenericBuffer<PointXYZI>.InternalAllocate(Int32)
    GenericBuffer<PointXYZI>.InternalGetElementStride()
    GenericBuffer<PointXYZI>.InternalUpdateBuffer()
    GenericBuffer<PointXYZI>.InternalRelease()
    ExchangeBuffer.GPUData
    ExchangeBuffer.Stride
    ExchangeBuffer.Count
    ExchangeBuffer.Capacity
    ExchangeBuffer.isGPUOnly
    ExchangeBuffer.Allocate(Int32, Boolean)
    ExchangeBuffer.Release()
    ExchangeBuffer.UploadOnGPU()
    ExchangeBuffer._isDirty
    ExchangeBuffer._GPUData
    Namespace: Mechatronics.SystemGraph
    Syntax
    public class PointCloud : GenericBuffer<PointXYZI>

    Methods

    ResizeIfNotBigEnough(Int32)

    Used to resize the point cloud buffer if the size provided is different from the size provided. The data will be lost.

    Declaration
    public void ResizeIfNotBigEnough(int pointCount)
    Parameters
    Type Name Description
    Int32 pointCount

    Number of points to store in the point cloud buffer.

    Back to top
    Terms of use
    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