|
SuperDex Physics C++ API
|
Top-level prefab describing a complete or partial physics scene (possibly just one actor). More...
#include <mochi_prefab.h>
Public Member Functions | |
| bool | operator== (ScenePrefab const &) const =default |
Public Attributes | |
| ActorLists | actors {} |
| Lists of actors by type. | |
| std::optional< DynamicString > | comment = std::nullopt |
| Optional serialized comment. | |
| ConstraintLists | constraints {} |
| Lists of constraints by type. | |
| std::optional< ContactFilter > | contactFilter = std::nullopt |
| Contact filter settings for selective contact filtering. | |
| DynamicArray< PoseControllerPrefab > | controllers {} |
| List of pose controllers. | |
| DynamicArray< PrefabReference > | prefabs {} |
| List of nested prefab references. | |
| std::optional< SceneParams > | scene = std::nullopt |
| Global scene parameters (top-level prefab only). | |
| std::optional< DynamicString > | sourceFilePath = std::nullopt |
| Path this prefab was loaded from, exactly as passed to the loading function. | |
Top-level prefab describing a complete or partial physics scene (possibly just one actor).
Definition at line 293 of file mochi_prefab.h.
|
default |
| ActorLists superdex::prefab::ScenePrefab::actors {} |
Lists of actors by type.
Definition at line 295 of file mochi_prefab.h.
| std::optional<DynamicString> superdex::prefab::ScenePrefab::comment = std::nullopt |
Optional serialized comment.
Definition at line 294 of file mochi_prefab.h.
| ConstraintLists superdex::prefab::ScenePrefab::constraints {} |
Lists of constraints by type.
Definition at line 296 of file mochi_prefab.h.
| std::optional<ContactFilter> superdex::prefab::ScenePrefab::contactFilter = std::nullopt |
Contact filter settings for selective contact filtering.
Definition at line 301 of file mochi_prefab.h.
| DynamicArray<PoseControllerPrefab> superdex::prefab::ScenePrefab::controllers {} |
List of pose controllers.
Definition at line 297 of file mochi_prefab.h.
| DynamicArray<PrefabReference> superdex::prefab::ScenePrefab::prefabs {} |
List of nested prefab references.
Definition at line 298 of file mochi_prefab.h.
| std::optional<SceneParams> superdex::prefab::ScenePrefab::scene = std::nullopt |
Global scene parameters (top-level prefab only).
Definition at line 299 of file mochi_prefab.h.
| std::optional<DynamicString> superdex::prefab::ScenePrefab::sourceFilePath = std::nullopt |
Path this prefab was loaded from, exactly as passed to the loading function.
Used to resolve prefab-relative ("./"-prefixed) nested prefab and shape paths.
Definition at line 300 of file mochi_prefab.h.