# NNS_G2dSetRndCoreCurrentMtx3D

## Syntax

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

    The affine transformation matrix is used for
    - the current matrix set to the Geometry Engine when drawing with the 3D Graphics 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.
This function must be called inside the `BeginRendering` — `EndRendering` block.

## See Also

`NNS_G2dSetRndCoreCurrentMtx2D
`

## Revision History

2004/11/10 Initial version.

CONFIDENTIAL