|
SuperDex Physics C++ API
|
Options for ExportScene and ExportActor. More...
#include <mochi_prefab.h>
Public Attributes | |
| DynamicArray< ActorHandle > | excludeActors {} |
| Handles of actors that ExportScene should not export. | |
| bool | exportCurrentPose = false |
| Whether to export the current pose of soft, articulated, and rod actors. | |
Options for ExportScene and ExportActor.
Definition at line 539 of file mochi_prefab.h.
| DynamicArray<ActorHandle> superdex::prefab::ExportParams::excludeActors {} |
Handles of actors that ExportScene should not export.
Excluding an articulated actor also excludes all of its nested link actors. Excluding a soft-skinned actor also excludes all of its nested link actors and nested soft actors. Any contact filter or contact-pair parameter override entries that reference excluded actors are dropped.
Definition at line 540 of file mochi_prefab.h.
| bool superdex::prefab::ExportParams::exportCurrentPose = false |
Whether to export the current pose of soft, articulated, and rod actors.
When true, the current elastic displacements of soft actors (including nested soft actors of soft-skinned actors) are written to SoftActorPrefab::nodeDisplacements, the current joint pose of articulated actors (including soft-skinned skeletons) is written to ArticulatedActorPrefab::jointPose, and the current node displacements and element frame axes of rod actors are written to RodActorPrefab::pose. Adding the exported prefab to a scene then restores that pose. Actors exactly at rest omit these fields.
Definition at line 541 of file mochi_prefab.h.