GCubeSDK
©2026 FenixFox®Studios

Points

Points ⟵ Object3D

A geometry class for rendering point clouds using BufferGeometry.
Points creates a point cloud geometry that renders individual vertices as points. This is useful for particle systems, point clouds, and other point-based rendering.

Methods

Points()

Default constructor - creates empty points object

Points(BufferGeometry* geometry, Material* material)

Constructor with geometry and material

geometry BufferGeometry containing vertex positions nullptr
material Material for the points nullptr

virtual Object3D* clone(bool recursive) const override

Creates a copy of this object

recursive Whether to clone children true

virtual void copy(const Object3D& object, bool recursive) override

Copies properties from another object

object Source
recursive Copy children too true

void setGeometry(BufferGeometry* geometry)

Sets the geometry for this points object

geometry BufferGeometry containing vertex positions

BufferGeometry* getGeometry() const

Gets the geometry of this points object

void setMaterial(Material* material)

Sets the material for this points object

material Material to use for rendering

Material* getMaterial() const

Gets the material of this points object

void render()

Renders this points object

Properties

enabled bool Active/inactive
id u32 Unique identifier
isPoints bool Read-only tag
name std::string Optional display name
pointAdjust u8 Point size adjustment mode (GX_TO_ZERO, GX_TO_ONE)
pointSize u8 Size of points in pixels
uuid std::string UUID string
version u32 Bumps on change