# NNS_G3D_SBC_NODEMIX

## Command Format

Offset (bytes) | Description
--- | ---
0 | `NNS_G3D_SBC_NODEMIX`
1 | The matrix stack ID where the calculation results are stored.
2 | The number (`n`) of matrices to blend. An integer of `2` or higher.
3+3`5+3m(0<=m<n)` | The ID on the matrix stack where the matrix to be blended is stored
4+3`5+3m(0<=m<n)` | The ID of the matrix to be blended
5+3`5+3m(0<=m<n)` | The blend ratio of the matrix to be blended. The actual blend ration can be obtained by dividing the value by `256`.

## Description

The `NNS_G3D_SBC_NODEMIX` command is used to blend the modeling matrix and calculate the matrix used in the weighted envelope. By default, this command calls the `NNSi_G3dFuncSbc_NODEMIX` function. Internal to the function, the matrix is blended according to the blend ratio once the matrix is taken from the matrix stack. The blended matrix is then written to a designated position in the matrix stack. This command can not be put in a callback when it is executed.

Timing for Calling a Callback Function | Usage
--- | ---
`NNS_G3D_SBC_CALLBACK_TIMING_A` | You cannot use this timing.
`NNS_G3D_SBC_CALLBACK_TIMING_B` | You cannot use this timing.
`NNS_G3D_SBC_CALLBACK_TIMING_C` | You cannot use this timing.

## See Also

## Revision History

10/14/2004 Revised description.

10/13/2004 Initial version.