# NNS_G3dGetMdlByIdx

## C Specification

      #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 model in the `idx` position inside the model set `mdlSet`.

## See Also

`NNS_G3dGetMdlByName`

## Revision History

08/02/2004 Initial version.