OGRE 14.3
Object-Oriented Graphics Rendering Engine
|
Represents part of the world geometry that is a result of a SceneQuery. More...
#include <OgreBspNode.h>
Public Attributes | |
WorldFragmentType | fragmentType |
The type of this world fragment. | |
void * | geometry |
Custom geometry block, only applicable for WFT_CUSTOM_GEOMETRY. | |
std::vector< Plane > * | planes |
Planes bounding a convex region, only applicable for WFT_PLANE_BOUNDED_REGION. | |
RenderOperation * | renderOp |
General render operation structure, fallback if nothing else is available. | |
Vector3 | singleIntersection |
Single intersection point, only applicable for WFT_SINGLE_INTERSECTION. | |
Represents part of the world geometry that is a result of a SceneQuery.
Since world geometry is normally vast and sprawling, we need a way of retrieving parts of it based on a query. That is what this struct is for; note there are potentially as many data structures for world geometry as there are SceneManagers, however this structure includes a few common abstractions as well as a more general format.
WorldFragmentType Ogre::WorldFragment::fragmentType |
The type of this world fragment.
Vector3 Ogre::WorldFragment::singleIntersection |
Single intersection point, only applicable for WFT_SINGLE_INTERSECTION.
std::vector<Plane>* Ogre::WorldFragment::planes |
Planes bounding a convex region, only applicable for WFT_PLANE_BOUNDED_REGION.
void* Ogre::WorldFragment::geometry |
Custom geometry block, only applicable for WFT_CUSTOM_GEOMETRY.
RenderOperation* Ogre::WorldFragment::renderOp |
General render operation structure, fallback if nothing else is available.