struct
EditableMeshComponent
- Module
- GeometryTools
- Header
#include "GeometryTools/EditableMeshComponent.h"- Namespace
Mowo- Reflection
- Reflected by MowoHeaderTool
Properties
| Type | Name | Description |
|---|---|---|
bool | enabled | Default true. |
EGeoShape | shape | Default EGeoShape::Cube. |
Vec3 | size | Default Vec3(1.0f, 1.0f, 1.0f). |
float | radius | Default 0.5f. |
float | innerRadius | Default 0.25f. |
float | height | Default 1.0f. |
int32_t | radialSegments | Default 24. |
int32_t | heightSegments | Default 1. |
int32_t | rings | Default 12. |
int32_t | steps | Default 8. |
float | arcDegrees | Default 180.0f. |
float | thickness | Default 0.2f. |
float | openingWidth | Default 1.0f. |
float | openingHeight | Default 2.0f. |
bool | smoothShading | Default false. |
std::string | material0Path | |
std::string | material1Path | |
std::string | material2Path | |
std::string | material3Path | |
bool | generateCollision | Default true. |
std::string | bakedModelPath | |
bool | edited | Non-zero once an operation has changed the topology away from what the parameters above generate. Only then does the scene carry the full topology blob; a pristine shape reloads from its parameters. Default false. |
bool | useBakedModel | Render from the baked .mmodel instead of regenerating the mesh at load. The bake only paid off once something consumed it: the file was written and then ignored, so a packaged build still re-triangulated every room on the way in. With this on the mesh comes through the normal asset path, which is also what gets meshlets and LODs once the cook learns to reprocess .mmodel. Default false. |
FEditableMesh | mesh | |
uint32_t | revision | Default 1. |
uint32_t | builtRevision | Default 0. |
std::string | builtFingerprint | |
bool | interactive | Set while a viewport drag is in flight. The render mesh still rebuilds every frame so the edit is visible, but the collider does not: rebuilding it means handing Jolt a new mesh shape per frame, which is the single most expensive thing in the loop and is worthless mid-drag. Default false. |
bool | colliderDirty | Default false. |
std::string | undecodedTopology | Topology this build could not decode — a newer schema, or a damaged blob. Held verbatim so the next save writes it back untouched: dropping to the shape parameters renders something, but re-saving would then replace the author's geometry with a default primitive, permanently. |
Generated from GeometryTools/EditableMeshComponent.h via geometrytools.json · Oct 26, 2026Version 1.0.0