## Public API Reference

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# csFrustumContext Class Reference
[Visibility]

This structure keeps track of the current frustum context. More...

`#include <iengine/fview.h>`

List of all members.

## Public Member Functions

| csFrustumContext ()
| Constructor.
csFrustum * | GetLightFrustum ()
| Get the light frustum.
iShadowBlockList * | GetShadows ()
| Get the list of shadows.
bool | IsMirrored ()
| Is mirrored.
bool | IsShared ()
| Get shared.
csFrustumContext & | operator= (csFrustumContext const &c)
void | SetLightFrustum (csFrustum *lf)
| Set the light frustum.
void | SetMirrored (bool m)
| Set/Disable mirrored space (default false).
void | SetNewLightFrustum (csPtr< csFrustum > lf)
| Set a new (already IncRef'd) light frustrum.
void | SetNewShadows (csPtr< iShadowBlockList > shad, bool sh=false)
| Set a new (already IncRef'd) list of shadows.
void | SetShadows (iShadowBlockList *shad, bool sh=true)
| Set the list of shadows.

## Detailed Description

This structure keeps track of the current frustum context.

It is used by iFrustumView. When recursing through a portal a new frustum context will be created and set in place of the old one.

Definition at line 63 of file fview.h.

## Constructor & Destructor Documentation

csFrustumContext::csFrustumContext | ( |  | ) | `[inline]`

| Constructor. Definition at line 89 of file fview.h.

## Member Function Documentation

csFrustum* csFrustumContext::GetLightFrustum | ( |  | ) | `[inline]`

| Get the light frustum. Definition at line 125 of file fview.h.

iShadowBlockList* csFrustumContext::GetShadows | ( |  | ) | `[inline]`

| Get the list of shadows. Definition at line 104 of file fview.h.

bool csFrustumContext::IsMirrored | ( |  | ) | `[inline]`

| Is mirrored. Definition at line 133 of file fview.h.

bool csFrustumContext::IsShared | ( |  | ) | `[inline]`

| Get shared. Definition at line 118 of file fview.h.

void csFrustumContext::SetLightFrustum | ( | csFrustum * | lf | ) | `[inline]`

| Set the light frustum. Definition at line 121 of file fview.h.

void csFrustumContext::SetMirrored | ( | bool | m | ) | `[inline]`

| Set/Disable mirrored space (default false). Set this to true if the frustum starts in mirrored space. Definition at line 131 of file fview.h.

void csFrustumContext::SetNewLightFrustum | ( | csPtr< csFrustum > | lf | ) | `[inline]`

| Set a new (already IncRef'd) light frustrum. Definition at line 123 of file fview.h.

void csFrustumContext::SetNewShadows | ( | csPtr< iShadowBlockList > | shad,
|  | bool | sh = `false`
| ) | `[inline]`

| Set a new (already IncRef'd) list of shadows. Definition at line 112 of file fview.h.

void csFrustumContext::SetShadows | ( | iShadowBlockList * | shad,
|  | bool | sh = `true`
| ) | `[inline]`

| Set the list of shadows. Definition at line 106 of file fview.h.

The documentation for this class was generated from the following file:

- iengine/fview.h