# NNS_G3dRenderObjAddAnmObj

## Syntax

      #include <nnsys/g3d/kernel.h>

      void
      NNS_G3dRenderObjAddAnmObj(
          NNSG3dRenderObj* pRenderObj,
          NNSG3dAnmObj*    pAnmObj
      );

## Arguments

pRenderObj | Pointer to the `NNSG3dRenderObj` structure.
pAnmObj | Pointer to the `NNSG3dAnmObj` structure.

## Return Values

None.

## Description

Appends the animation object designated by `pAnmObj` to the rendering object designated by `pRenderObj`. By appending the animation object to the rendering object, animation will be played during rendering.

This function references the header information stored in the animation object, then appends the animation object to the appropriate list from among the three types of lists that the rendering object has: the material animation list, the joint animation list, and the visibility animation list.

## See Also

`NNS_G3dRenderObjRemoveAnmObj`

## Revision History

2004/08/02 Initial version.

CONFIDENTIAL