# G2_SetOBJEffect

## C Specification

      #include <nitro/gx/g2_oam.h>

      void G2_SetOBJEffect(GXOamAttr * oam, GXOamEffect effect, int rsParam);

## Description

This function specifies the flip and affine transformation effects and stores them in `*``oam`. `rsParam` is valid only when affine transformation has been specified with `effect`. The affine transformation to be applied to OBJ can be specified with an index. See `G2_SetOBJAttr` for details on `GXOamEffect` types.

## Arguments

`oam` | Pointer to where the OAM data is stored
`effect` | Specifies the type of effect
`rsParam` | Affine transformation parameter

## Return Values

None

## See Also

`G2_SetOBJAttr`

## Revision History

01/19/2004 Initial Version