Rebel Fork Framework
Urho3D::BoxOctreeQuery Class Reference

#include <Urho3D/Graphics/OctreeQuery.h>

Inheritance diagram for Urho3D::BoxOctreeQuery:
Urho3D::OctreeQuery Urho3D::NonCopyable

Public Member Functions

 BoxOctreeQuery (ea::vector< Drawable * > &result, const BoundingBox &box, DrawableFlags drawableFlags=DRAWABLE_ANY, unsigned viewMask=DEFAULT_VIEWMASK)
 Construct with bounding box and query parameters.
Intersection TestOctant (const BoundingBox &box, bool inside) override
 Intersection test for an octant.
void TestDrawables (Drawable **start, Drawable **end, bool inside) override
 Intersection test for drawables.
Public Member Functions inherited from Urho3D::OctreeQuery
 OctreeQuery (ea::vector< Drawable * > &result, DrawableFlags drawableFlags, unsigned viewMask)
 Construct with query parameters.
virtual ~OctreeQuery ()=default
 Destruct.

Public Attributes

BoundingBox box_
 Bounding box.
Public Attributes inherited from Urho3D::OctreeQuery
ea::vector< Drawable * > & result_
 Result vector reference.
DrawableFlags drawableFlags_
 Drawable flags to include.
unsigned viewMask_
 Drawable layers to include.

Detailed Description

Bounding box octree query.

Member Function Documentation

◆ TestDrawables()

void Urho3D::BoxOctreeQuery::TestDrawables ( Drawable ** start,
Drawable ** end,
bool inside )
overridevirtual

Intersection test for drawables.

Implements Urho3D::OctreeQuery.

◆ TestOctant()

Intersection Urho3D::BoxOctreeQuery::TestOctant ( const BoundingBox & box,
bool inside )
overridevirtual

Intersection test for an octant.

Implements Urho3D::OctreeQuery.


The documentation for this class was generated from the following files:
  • Urho3D/Graphics/OctreeQuery.h
  • Urho3D/Graphics/OctreeQuery.cpp