|
SuperDex Physics C++ API
|
Skin parameters for an articulated actor prefab. More...
#include <mochi_prefab.h>
Public Member Functions | |
| bool | operator== (ArticulatedSkinPrefab const &) const =default |
| Public Member Functions inherited from superdex::ArticulatedSkinParams | |
| bool | operator== (ArticulatedSkinParams const &) const =default |
Public Attributes | |
| DynamicString | renderModelFile |
| Optional path to a render model file (e.g. | |
| Quaternion | renderModelRotation |
| Rotation quaternion [x, y, z, w] to apply to the render model. | |
| Real3 | renderModelScale = {1_r, 1_r, 1_r} |
| Scale [x, y, z] to apply to the render model. | |
| Real3 | renderModelTranslation = {} |
| Translation [x, y, z] to apply to the render model. | |
| DynamicString | shapeFile |
| Path to the model file containing a skinned mesh. | |
| Public Attributes inherited from superdex::ArticulatedSkinParams | |
| ActorBoundaryElementType | boundaryElementType = ActorBoundaryElementType::Default |
| Finite element type for boundary discretization. | |
| std::optional< BoundarySubsamplingParams > | boundarySubsampling |
| Optional subsampling for boundary integrals such as contact. | |
| ContactParams | contact |
| Contact mechanics parameters. | |
| DynamicString | layer |
| Contact layer name for filtering contacts between actors. | |
| ShapeHandle | shape |
| Shape handle defining the skinned triangle mesh. | |
Skin parameters for an articulated actor prefab.
Extends ArticulatedSkinParams. The inherited ArticulatedSkinParams::shape (a runtime ShapeHandle) is replaced by shapeFile (a path serialized to JSON. The shape is loaded at instantiation time).
Definition at line 122 of file mochi_prefab.h.
|
default |
| DynamicString superdex::prefab::ArticulatedSkinPrefab::renderModelFile |
Optional path to a render model file (e.g.
.glb) for visualization.
Definition at line 130 of file mochi_prefab.h.
| Quaternion superdex::prefab::ArticulatedSkinPrefab::renderModelRotation |
Rotation quaternion [x, y, z, w] to apply to the render model.
Definition at line 132 of file mochi_prefab.h.
| Real3 superdex::prefab::ArticulatedSkinPrefab::renderModelScale = {1_r, 1_r, 1_r} |
Scale [x, y, z] to apply to the render model.
Definition at line 131 of file mochi_prefab.h.
| Real3 superdex::prefab::ArticulatedSkinPrefab::renderModelTranslation = {} |
Translation [x, y, z] to apply to the render model.
Definition at line 133 of file mochi_prefab.h.
| DynamicString superdex::prefab::ArticulatedSkinPrefab::shapeFile |
Path to the model file containing a skinned mesh.
Definition at line 123 of file mochi_prefab.h.