# `ExMujoco.Types.MeshInertia`
[🔗](https://github.com/d-led/ex.mujoco/blob/main/lib/ex_mujoco/types/mesh_inertia.ex#L2)

`mjtMeshInertia`, from MuJoCo's headers, as numbers. All 4 values carry a number in the header.

# `t`

```elixir
@type t() :: integer()
```

# `inertia_convex`

```elixir
@spec inertia_convex() :: 0
```

mjMESH_INERTIA_CONVEX is 0.

# `inertia_exact`

```elixir
@spec inertia_exact() :: 1
```

mjMESH_INERTIA_EXACT is 1.

# `inertia_legacy`

```elixir
@spec inertia_legacy() :: 2
```

mjMESH_INERTIA_LEGACY is 2.

# `inertia_shell`

```elixir
@spec inertia_shell() :: 3
```

mjMESH_INERTIA_SHELL is 3.

# `to_atom`

```elixir
@spec to_atom(integer() | atom()) :: atom() | nil
```

The name behind an integer. An atom is already one.

# `to_integer`

```elixir
@spec to_integer(t() | atom()) :: integer() | nil
```

The integer behind a name. An integer is already one.

# `values`

```elixir
@spec values() :: [{atom(), integer()}]
```

Every value, as `{name, integer}`, in the order the header lists them.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
