GeomSubset (per-face physics materials)#

A face subset of a Mesh collider. The parser reads it only to build per-face physics materials: a face GeomSubset child of a Mesh collider whose resolved material binding is a physics material takes the next material slot, and its indices stamp that slot onto the faces the cooking service sees.

What USD population writes#

The producer gives a GeomSubset a row when it binds a physics material or is a collider subset (see the prim block); elementType and indices are its published schema attributes.

Columns#

Raw fallback is the USD schema value. Producer writes is what ovstage population puts in the column for a USD stage. Parser default applies on the consumer when the column is absent, in stage units. diverges means writing the raw fallback literally parses differently from omitting the column (the parser default): USD population may well publish that very value for an unauthored attribute, so the marker is about the column being present, not about its value.

Column

Type

Units

Raw fallback

Producer writes

Parser default

If absent

elementType

uint64, TOKEN_ID

none

face

resolved USD value (authored, else raw fallback)

none: the subset is skipped diverges

The subset is skipped: only an elementType that resolves to the token face takes a material slot. Write face for a per-face material subset.

indices

int32 array

none

()

resolved USD value (authored, else raw fallback)

An absent or empty column reads as an invalid buffer: the subset still takes its material slot but stamps no face, so every face keeps the trailing default slot.

Interactions#

  • Mesh: Only children of a Mesh collider are considered, in child order; the subset index in that order is its material slot and unbound faces take the slot one past the last subset. The geometry backing key is walked, so prototype subsets serve instance proxies.

  • MaterialBindingAPI: The subset’s own binding is resolved like a collider’s (material:binding:physics, then material:binding, up the ancestors); a subset whose resolved material lacks PhysicsMaterialAPI takes no slot.

Notes#

  • familyName is not read: a face subset is recognised by elementType alone.