# NNS_G2dSetRndCoreCurrentMtx3D

## C Specification

      #include <nnsys/g2d/g2d_RendererCore.h>

      void NNS_G2dSetRndCoreCurrentMtx3D
          (
              const MtxFx32*              pCurrentMxt
          );

## Arguments

pCurrentMxt | [IN] Current transformation matrix

## Return Values

None.

## Description

Sets the affine transformation matrix in the Renderer core.

     When drawing with the 3D Graphics Engine, the affine transformation matrix is used for the current matrix set to the Geometry Engine.

The configured transformation matrix is valid inside the `BeginRendering` — `EndRendering` block.
The settings are reset when `NNS_G2dRndCoreEndRendering()`is called, so you will need to use this function to configure the settings again when it is time for a new drawing process.
Internally, a `4x3` matrix is calculated for setting as the current matrix in the Geometry Engine. This function can only be used when drawing with the 3D Graphics Engine. A warning message will be generated if it is called when the 2D Graphics Engine is drawing.
The configured transformation matrix is valid inside the `BeginRendering` — `EndRendering` block.

## See Also

`NNS_G2dSetRndCoreCurrentMtx2D
`

## Revision History

11/10/2004 Initial version.