|
U3D
Open-source, cross-platform 2D and 3D game engine built in C++
|
Raycast result. More...
#include </var/dev/u3d/stable/Source/Urho3D/Graphics/OctreeQuery.h>
Public Member Functions | |
| RayQueryResult () | |
| Construct with defaults. | |
| bool | operator!= (const RayQueryResult &rhs) const |
| Test for inequality, added to prevent GCC from complaining. | |
Public Attributes | |
| Vector3 | position_ |
| Hit position in world space. | |
| Vector3 | normal_ |
| Hit normal in world space. Negation of ray direction if per-triangle data not available. | |
| Vector2 | textureUV_ |
| Hit texture position. | |
| float | distance_ {} |
| Distance from ray origin. | |
| Drawable * | drawable_ |
| Drawable. | |
| Node * | node_ |
| Scene node. | |
| unsigned | subObject_ {} |
| Drawable specific subobject if applicable. | |
Raycast result.