API

Point Cloud System

A point cloud particle system (PCS) is a single updatable mesh with the PointsCloud property of its material set to true. The point particles are simply the vertices of the mesh. As a mesh, a PCS has most of the properties of a mesh. The exceptions are those related to its material, which is already set and cannot be changed, and anything related to its vertex normals and indices, because it does not have any.

Particles can be added to a PCS with a function or by using an existing mesh as a model, where particles are randomly and evenly distributed either on the surface of the model or inside it.

As a particle system, the PCS provides methods to manage the particles, such as setting position and color, and updating and recycling them.

Coming next

Creating A Point Cloud System
Learn how to create a point cloud system in Babylon.js.
Creating A Point Cloud System
The Point Cloud Particle System
Dive into the point cloud particle system in Babylon.js.
The Point Cloud Particle System
Managing A Point Cloud System
Learn all point cloud system management in Babylon.js.
Managing A Point Cloud System
Managing Point Cloud Particles
Learn all point cloud particle management in Babylon.js.
Managing Point Cloud Particles