Draco Point Cloud
class DracoPointCloud(val positions: FloatArray, val colors: FloatArray? = null, val positionsCount: Int = positions.size / 3, val colorsCount: Int = (colors?.size ?: 0) / 4)
Decoded point cloud. positions / colors may be pool-backed and longer than the valid span — readers must respect positionsCount / colorsCount (in points).
Constructors
Link copied to clipboard
constructor(positions: FloatArray, colors: FloatArray? = null, positionsCount: Int = positions.size / 3, colorsCount: Int = (colors?.size ?: 0) / 4)