# NNS_G3dGetChildNodeIDList

## C Specification

      #include <nnsys/g3d/util.h>

      int
      NNS_G3dGetChildNodeIDList(
      u8* idList,
      const u8* sbc,
      u32 nodeID
      );

## Arguments

idList | Pointer to the child node ID list that stores the results
sbc | Pointer to the SBC code string
nodeID | The node ID

## Return Values

Returns the number of child nodes.

## Description

Creates a list (`idList`) of the node IDs that will be the children of `nodeID`. A sufficient region must be allocated for `idList`. The return value is the number of child nodes. If none are found, `0` is returned and nothing is written to `idList`.

## See Also

`NNS_G3dGetParentNodeID`

## Revision History

08/02/2004 Initial version.