SgPoints

Displays a collection of 3D points, optionally with size and color attributes. Ideal for visualizing point clouds, particle systems, or debug data. Efficient for large sets of simple elements without mesh overhead.

Inherits from

Usage

To use this class, add the following require at the top of your script:

local SgPoints = require 'engine/sceneobjects/sgpoints'

Reference

Examples