GCubeSDK
©2026 FenixFox®Studios

Group

Group ⟵ Object3D

Container class for grouping multiple Object3D instances.
This class inherits from Object3D and provides a logical way to group multiple objects together. Groups can be transformed, animated, and managed as a single unit while maintaining individual object properties. Since Group inherits from Object3D, it has all the same transformation and hierarchy capabilities, plus the additional grouping functionality.

Methods

Group()

Default constructor - creates an empty group

Group(const string& name)

Constructor with custom name

name Human-readable name for the group

Group* clone(bool recursive = true) const override

Creates a copy of this group

recursive Whether to clone all child objects as well

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

Copies properties from another object

object Source object to copy from
recursive Whether to copy all child objects as well

Properties

isGroup bool Read-only flag to check if object is Group