# NNS_G3dGetAnmByIdx

## Syntax

      #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

2004/08/10 Initial version.

CONFIDENTIAL