# G2*_GetWndOBJInsidePlane

## Syntax

      #include <nitro/gx/g2.h>

      GXWndPlane G2_GetWndOBJInsidePlane( void );
      GXWndPlane G2S_GetWndOBJInsidePlane( void );

## Arguments

None.

## Return Values

Information for the plane being displayed in the window.

## Description

Gets the settings for the plane that is displayed inside the OBJ window and the existence of color effects as the `GXWndPlane` structure.
Use the `G2_GetWndOBJInsidePlane` function to get the settings for the main 2D engine and the `G2S_GetWndOBJInsidePlane` function to get the settings for the sub 2D engine.
The `GXWndPlane` structure that gets returned includes the following information:

`planeMask` | Information about the settings for the plane that is being displayed in the window. See the `G2_SetWndOBJInsidePlane` function for more details.
`effect` | The setting for the existence of color effects inside the window.

Following is the type definition for type `GXWndPlane`:

    typedef struct
    {
            u8      planeMask       :5;
            u8      effect          :1;
            u8      _reserve        :2;
    }
    GXWndPlane;

## See Also

G2_SetWndOBJInsidePlane

## Revision History

2004/12/24 Initial version.

CONFIDENTIAL