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

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

# `t`

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

# `body`

```elixir
@spec body() :: 5
```

mjTRN_BODY is 5.

# `joint`

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

mjTRN_JOINT is 0.

# `jointinparent`

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

mjTRN_JOINTINPARENT is 1.

# `site`

```elixir
@spec site() :: 4
```

mjTRN_SITE is 4.

# `slidercrank`

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

mjTRN_SLIDERCRANK is 2.

# `so3`

```elixir
@spec so3() :: 6
```

mjTRN_SO3 is 6.

# `tendon`

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

mjTRN_TENDON 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.

# `undefined`

```elixir
@spec undefined() :: 1000
```

mjTRN_UNDEFINED is 1000.

# `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*
