PhysxParticleAPI (particle object base)#
Base API of a particle object, applied automatically by USD with PhysxParticleSetAPI. The parser never checks it: its columns are read on every prim that lists PhysxParticleSetAPI, and its presence only steers property changes, where a PointInstancer that lists it is not handled as a rigid-body instancer.
Applies to:
PointBased,PointInstancerRequires on the same prim:
PhysxParticleSetAPINo
usd-schemasgate: the consumer reads these columns whenever they exist on the prim, applied or not. The builders do not expose this API.No builder:
ovphysx.populationandPopulation.hppdo not write this component; the consumer reads it when another population writes it.
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 |
|---|---|---|---|---|---|---|
|
uint64 array, RELATIONSHIP_PATH_ID |
not written |
The set has no particle system: the runtime logs ‘PhysX Particles at |
|||
|
bool8 |
none |
true |
resolved USD value (authored, else raw fallback) |
true |
true. With false the set is created but its particle buffer is not added to the particle system. |
|
bool8 |
none |
true |
resolved USD value (authored, else raw fallback) |
false diverges |
false: the set’s particle phase lacks the PhysX self-collide flag, so its particles do not interact with particles of the same group. USD’s fallback is true, so write the value. |
|
int32 |
none |
0 |
resolved USD value (authored, else raw fallback) |
0 |
Group 0. The group selects the PhysX phase of the set’s particles; the runtime creates one phase per group and particle system, with the system’s PBD material. |
Interactions#
PhysxParticleSetAPI: The columns are read in the particle-set parse, which is gated on PhysxParticleSetAPI alone; USD lists this API automatically with it.PointInstancer: Live edits of positions, orientations, velocities, angularVelocities, protoIndices and ids on a PointInstancer are handled as rigid-body instancer changes only when the instancer does not list this API; a protoIndices or ids edit there is a structural change. A populator that lists PhysxParticleSetAPI on a PointInstancer should therefore list this API too, as USD applies it automatically with PhysxParticleSetAPI.