Ogre::VisibleObjectsBoundsInfo Struct Reference
Core » Scene

Structure collecting together information about the visible objects that have been discovered in a scene. More...

`#include <OgreSceneManager.h>`

## Public Member Functions

| VisibleObjectsBoundsInfo ()
void | merge (const AxisAlignedBox &boxBounds, const Sphere &sphereBounds, const Camera *cam, bool receiver=true)
void | mergeNonRenderedButInFrustum (const AxisAlignedBox &boxBounds, const Sphere &sphereBounds, const Camera *cam)
| Merge an object that is not being rendered because it's not a shadow caster, but is a shadow receiver so should be included in the range. More...
void | reset ()

## Public Attributes

AxisAlignedBox | aabb
| The axis-aligned bounds of the visible objects. More...
Real | maxDistance
| The farthest a visible objects is from the camera. More...
Real | maxDistanceInFrustum
| The farthest object in the frustum regardless of visibility / shadow caster flags. More...
Real | minDistance
| The closest a visible object is to the camera. More...
Real | minDistanceInFrustum
| The closest a object in the frustum regardless of visibility / shadow caster flags. More...
AxisAlignedBox | receiverAabb
| The axis-aligned bounds of the visible shadow receiver objects. More...

## Detailed Description

Structure collecting together information about the visible objects that have been discovered in a scene.

Definition at line 86 of file OgreSceneManager.h.

## Constructor & Destructor Documentation

## VisibleObjectsBoundsInfo()

Ogre::VisibleObjectsBoundsInfo::VisibleObjectsBoundsInfo | ( |  | ) |

## Member Function Documentation

## merge()

void Ogre::VisibleObjectsBoundsInfo::merge | ( | const AxisAlignedBox & | boxBounds,
|  | const Sphere & | sphereBounds,
|  | const Camera * | cam,
|  | bool | receiver = `true`
| ) |  |

## mergeNonRenderedButInFrustum()

void Ogre::VisibleObjectsBoundsInfo::mergeNonRenderedButInFrustum | ( | const AxisAlignedBox & | boxBounds,
|  | const Sphere & | sphereBounds,
|  | const Camera * | cam
| ) |  |

Merge an object that is not being rendered because it's not a shadow caster, but is a shadow receiver so should be included in the range.

## reset()

void Ogre::VisibleObjectsBoundsInfo::reset | ( |  | ) |

## Member Data Documentation

## aabb

AxisAlignedBox Ogre::VisibleObjectsBoundsInfo::aabb

The axis-aligned bounds of the visible objects.

Definition at line 89 of file OgreSceneManager.h.

## maxDistance

Real Ogre::VisibleObjectsBoundsInfo::maxDistance

The farthest a visible objects is from the camera.

Definition at line 95 of file OgreSceneManager.h.

## maxDistanceInFrustum

Real Ogre::VisibleObjectsBoundsInfo::maxDistanceInFrustum

The farthest object in the frustum regardless of visibility / shadow caster flags.

Definition at line 99 of file OgreSceneManager.h.

## minDistance

Real Ogre::VisibleObjectsBoundsInfo::minDistance

The closest a visible object is to the camera.

Definition at line 93 of file OgreSceneManager.h.

## minDistanceInFrustum

Real Ogre::VisibleObjectsBoundsInfo::minDistanceInFrustum

The closest a object in the frustum regardless of visibility / shadow caster flags.

Definition at line 97 of file OgreSceneManager.h.

## receiverAabb

AxisAlignedBox Ogre::VisibleObjectsBoundsInfo::receiverAabb

The axis-aligned bounds of the visible shadow receiver objects.

Definition at line 91 of file OgreSceneManager.h.

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

- OgreSceneManager.h

Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.