pygfx.objects.Group

class pygfx.objects.Group(*, visible=True, name='')

Bases: WorldObject

A group of objects.

A Group is useful when manipulating the scene graph as children can be jointly moved/scaled/rotated. It has no visual properties.

Parameters:
  • visible (bool) – If true, the object and its children are visible.

  • name (str) – The name of the group.