# shz_xmtrx_get_translation

Source: https://sh4zam.com/api/xmtrx/shz_xmtrx_get_translation/

```c
SHZ_INLINE shz_vec3_t shz_xmtrx_get_translation(void) SHZ_NOEXCEPT;
```

Returns the translational components from the last column of XMTRX, as a 3D vector.

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `` | `void` |  |

## Returns

`shz_vec3_t`

## Availability

- **C++ equivalent:** [`shz::xmtrx::get_translation`](https://sh4zam.com/api/cpp/xmtrx/#get_translation)
- **Type-generic form:** none
- **Back-ends:** SH4: dedicated SH4 implementation · SW: portable C · SPU: shared C implementation
- **Defined in:** [`sh4zam/shz_xmtrx.h:803`](https://github.com/gyrovorbis/sh4zam/blob/ba1e30c88d49df0311870b229e1dd860ef26c477/include/sh4zam/shz_xmtrx.h#L803)
- **Module:** [XMTRX](https://sh4zam.com/api/xmtrx/), section "Getters"
