Truly Modular: Modular Item API

Truly Modular: Modular Item API

Group Modification Composite

Description

The GroupComposite allows you to modify the groups of a material by either clearing the existing groups or adjusting them by removing and adding specific groups. You can choose to clear the groups, then remove certain groups and add others. If no groups are specified, the existing groups will be used.

Data

  • clear: A boolean value that determines if the existing groups should be cleared before applying the modifications.
  • remove: A list of group names (String) to be removed from the existing groups.
  • toAdd: A list of group names (String) to be added to the existing groups.