CollectionAPI#

USD collections, applied as CollectionAPI:. The parser resolves a collection to the includes targets expanded through their descendants, minus the excludes subtrees. It does so for the colliders collection of a PhysicsCollisionGroup and the quasistaticactors collection of PhysxSceneQuasistaticAPI.

  • Applies to: Xformable, Imageable, Typed

  • Multi-apply: applied as CollectionAPI:<instance>; <inst> in a column name is the instance. Instances: any instance name.

  • Read only when listed in usd-schemas.

What USD population writes#

Authored includes and excludes relationships are published like any relationship. ovstage also lists the bare name CollectionAPI next to every CollectionAPI: entry.

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

collection:<inst>:includes

uint64 array, RELATIONSHIP_PATH_ID

not written

Empty collection.

collection:<inst>:excludes

uint64 array, RELATIONSHIP_PATH_ID

not written

Nothing is pruned.

Interactions#

  • PhysicsCollisionGroup: Reads the colliders instance; that component lists collection:colliders:includes and :excludes as its own columns.

  • PhysxSceneQuasistaticAPI: Reads the quasistaticactors instance on the scene, only when that API is applied; the compiled cache does not support that API, so a Stage using it bypasses the cache.

Notes#

  • expansionRule, includeRoot and membershipExpression are not read: includes always expand to all descendants.

  • Instance names are arbitrary, so the compiled cache declares every collection:* column.