U3D
Open-source, cross-platform 2D and 3D game engine built in C++
|
Base class for octree queries. More...
#include </var/dev/u3d/stable/Source/Urho3D/Graphics/OctreeQuery.h>
Public Member Functions | |
OctreeQuery (PODVector< Drawable * > &result, unsigned char drawableFlags, unsigned viewMask) | |
Construct with query parameters. | |
virtual | ~OctreeQuery ()=default |
Destruct. | |
OctreeQuery (const OctreeQuery &rhs)=delete | |
Prevent copy construction. | |
OctreeQuery & | operator= (const OctreeQuery &rhs)=delete |
Prevent assignment. | |
virtual Intersection | TestOctant (const BoundingBox &box, bool inside)=0 |
Intersection test for an octant. More... | |
virtual void | TestDrawables (Drawable **start, Drawable **end, bool inside)=0 |
Intersection test for drawables. More... | |
Public Attributes | |
PODVector< Drawable * > & | result_ |
Result vector reference. | |
unsigned char | drawableFlags_ |
Drawable flags to include. | |
unsigned | viewMask_ |
Drawable layers to include. | |
Base class for octree queries.
|
pure virtual |
Intersection test for drawables.
Implemented in Urho3D::PointOctreeQuery, Urho3D::SphereOctreeQuery, Urho3D::BoxOctreeQuery, Urho3D::FrustumOctreeQuery, and Urho3D::AllContentOctreeQuery.
|
pure virtual |
Intersection test for an octant.
Implemented in Urho3D::PointOctreeQuery, Urho3D::SphereOctreeQuery, Urho3D::BoxOctreeQuery, Urho3D::FrustumOctreeQuery, and Urho3D::AllContentOctreeQuery.