# NNS_G3dGetAnmByIdx

## C Specification

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

      void*
      NNS_G3dGetAnmByIdx(
      const void*             pRes,
      u32             idx
      );

## Arguments

pRes | The pointer to the loaded animation file.
idx | The index for individual animations.

## Return Values

Returns the pointer to the animation resource specified by idx.

## Description

This function obtains the animation resource of the specified number. This function can be used for all loaded animation resource files. If no animation resource file is found, a value of NULL is returned.

## See Also

NNS_G3dGetAnmByName

## Revision History

08/10/2004 Initial version.