pygfx.objects.Group

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

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.

  • position (Vector) – The position of the object in the world. Default (0, 0, 0).