|
Urho3D
|
Base class for octree queries. More...
#include </home/runner/work/urho3d-doxygen.github.io/urho3d-doxygen.github.io/urho3d_repo/Source/Urho3D/Graphics/OctreeQuery.h>
Public Member Functions | |
| OctreeQuery (Vector< Drawable * > &result, DrawableTypes drawableTypes, 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 | |
| Vector< Drawable * > & | result_ |
| Result vector reference. | |
| DrawableTypes | drawableTypes_ |
| 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.