addGroup method
Adds a group to this geometry; see the groups
property for details.
Implementation
void addGroup(int start, int count, [int materialIndex = 0]) {
groups.add({
"start": start,
"count": count,
"materialIndex": materialIndex,
});
}