|
SuperDex Physics C++ API
|
Prefab parameters for a soft skinned actor. More...
#include <mochi_prefab.h>
Public Member Functions | |
| bool | operator== (SoftSkinnedActorPrefab const &) const =default |
Public Attributes | |
| std::optional< DynamicString > | comment = std::nullopt |
| Optional serialized comment. | |
| bool | enableCollidingLinks = false |
| Whether links can collide with each other. | |
| bool | hasGravity = false |
| Whether gravity is applied. | |
| bool | hasInertia = false |
| Whether inertia is applied. | |
| bool | hasStress = false |
| Whether soft material stress is applied. | |
| ArticulatedActorPrefab | skeletonParams {} |
| Articulated actor parameters for the skeleton. | |
| DynamicArray< DynamicString > | softAttachLinks {} |
| Local link names to attach each soft actor to. | |
| DynamicArray< SoftActorPrefab > | softParams {} |
| Soft body parameters, one per soft actor. | |
Prefab parameters for a soft skinned actor.
A soft skinned actor consists of an articulated skeleton with one or more attached soft bodies.
Definition at line 153 of file mochi_prefab.h.
|
default |
| std::optional<DynamicString> superdex::prefab::SoftSkinnedActorPrefab::comment = std::nullopt |
Optional serialized comment.
Definition at line 154 of file mochi_prefab.h.
| bool superdex::prefab::SoftSkinnedActorPrefab::enableCollidingLinks = false |
Whether links can collide with each other.
Definition at line 158 of file mochi_prefab.h.
| bool superdex::prefab::SoftSkinnedActorPrefab::hasGravity = false |
Whether gravity is applied.
Definition at line 159 of file mochi_prefab.h.
| bool superdex::prefab::SoftSkinnedActorPrefab::hasInertia = false |
Whether inertia is applied.
Definition at line 160 of file mochi_prefab.h.
| bool superdex::prefab::SoftSkinnedActorPrefab::hasStress = false |
Whether soft material stress is applied.
Definition at line 161 of file mochi_prefab.h.
| ArticulatedActorPrefab superdex::prefab::SoftSkinnedActorPrefab::skeletonParams {} |
Articulated actor parameters for the skeleton.
Definition at line 155 of file mochi_prefab.h.
| DynamicArray<DynamicString> superdex::prefab::SoftSkinnedActorPrefab::softAttachLinks {} |
Local link names to attach each soft actor to.
Empty or one entry per softParams element.
Definition at line 157 of file mochi_prefab.h.
| DynamicArray<SoftActorPrefab> superdex::prefab::SoftSkinnedActorPrefab::softParams {} |
Soft body parameters, one per soft actor.
Definition at line 156 of file mochi_prefab.h.