# Triangle Mesh Shape

> Documentation version: 3.0
> HTML: https://docs.flarelive.manifolddynamics.com/reference/geometry/triangle-mesh-shape.html
> [Complete contents](https://docs.flarelive.manifolddynamics.com/contents.md) · [Agent index](https://docs.flarelive.manifolddynamics.com/llms.txt)

Flare Live **3.0** · **Scene Object** · API type `simexp.common.geometry.shapes.triangle_mesh`.

Places a Triangle Mesh preset in the scene. `mesh` supplies geometry; `material_override` optionally replaces the mesh's default material. With no override, an imported mesh can already render with textures. Shape Color multiplies the material's base color and texture. Leave it white to preserve the imported colors. With no material, it supplies the surface color.

Scale is per shape. Visual, Collider and FluidBoundary are independent roles. New triangle-mesh shapes default to Visual + FluidBoundary. Enable Collider to use it for contact: attach directly to a Joint-Body Pair for body-owned geometry, or place it at scene root/below static Empty groups for standalone static contact. Gen 2 also supports static non-body fluid terrain. See [shape roles](https://docs.flarelive.manifolddynamics.com/manual/concepts/shapes.md).

Legacy ordinary fluid coupling still requires the shape to be a direct child of a Joint-Body Pair; standalone static rigid-body contact is separate from that fluid-coupling path.

## Properties

Values below are defaults for new objects. See [common properties](https://docs.flarelive.manifolddynamics.com/reference/common/properties.md) for shared fields, case-sensitive API paths and conditional visibility.

| API path | Constructor default / enum choices | Meaning / units | Editable in Simulation |
| --- | --- | --- | --- |
| `use_as` | 10; 2=Visual, 4=Collider, 8=FluidBoundary | Visual draws the mesh. Collider enables rigid-body contact when the shape is attached to a body or placed as static scenery. FluidBoundary enables fluid boundary handling when the solver supports the placement. | No |
| `mesh` | None | Triangle Mesh preset providing the geometry for rendering and the selected physics roles. | No |
| `scale` | (1.0, 1.0, 1.0) | XYZ multipliers along the shape's local axes. Scale affects the geometry used when building the selected collider and fluid boundary. | No |
| `color` | (1.0, 1.0, 1.0) | Surface RGB color with components from 0 to 1. With a material it multiplies the base color and color texture. White keeps the material colors. | Yes |
| `material_override` | None | Optional per-shape override. Null uses the mesh preset default material. | Yes |

Simulation input/output: none.
