|
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 | |
| std::optional< DynamicArray< DynamicString > > | hiddenLinks |
| Local names of links whose render models the skin's render model stands in for. | |
| 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. | |
| std::optional< DynamicArray< DynamicString > > | nonCollidingLinks |
| Local names of links that do not act as colliding actors. | |
| ShapeHandle | shape |
| Shape handle defining the skinned triangular or tetrahedral 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 181 of file mochi_prefab.h.
|
default |
| std::optional<DynamicArray<DynamicString> > superdex::prefab::ArticulatedSkinPrefab::hiddenLinks |
Local names of links whose render models the skin's render model stands in for.
Visualization tools hide the render models of the listed links wherever they draw the skin's render model.
Definition at line 193 of file mochi_prefab.h.
| DynamicString superdex::prefab::ArticulatedSkinPrefab::renderModelFile |
Optional path to a render model file (e.g.
.glb) for visualization.
Definition at line 189 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 191 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 190 of file mochi_prefab.h.
| Real3 superdex::prefab::ArticulatedSkinPrefab::renderModelTranslation = {} |
Translation [x, y, z] to apply to the render model.
Definition at line 192 of file mochi_prefab.h.
| DynamicString superdex::prefab::ArticulatedSkinPrefab::shapeFile |
Path to the model file containing a skinned mesh.
Definition at line 182 of file mochi_prefab.h.