# G2_SetOBJEffect

## C Specification

      #include <nitro/gx/g2_oam.h>

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

## Arguments

oam | Pointer to the location storing the OAM data
effect | Specify effect type
rsParam | Affine transformation parameter

## Return Values

None.

## 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.

## See Also

G2_SetOBJAttr

## Revision History

01/19/2004 Initial version.

CONFIDENTIAL