# NNS_G3dGetMdlByIdx

## Syntax

      #include <nnsys/g3d/binres/res_struct_accessor.h>

      NNSG3dResMdl*
      NNS_G3dGetMdlByIdx(
          const NNSG3dResMdlSet* mdlSet,
          u32                    idx
      );

## Arguments

mdlSet | The pointer to the model set
idx | The index of the model to be obtained

## Return Values

Returns the pointer to the model.

## Description

Gets the `idx`-numbered model inside the model set `mdlSet`.

## See Also

`NNS_G3dGetMdlByName`

## Revision History

2004/08/02 Initial version.

CONFIDENTIAL