Urho3D::RayQueryResult Struct Reference

Raycast result. More...

#include <OctreeQuery.h>

Collaboration diagram for Urho3D::RayQueryResult:
[legend]

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.
 
float distance_
 Distance from ray origin.
 
Drawabledrawable_
 Drawable.
 
Nodenode_
 Scene node.
 
unsigned subObject_
 Drawable specific subobject if applicable.
 

Detailed Description

Raycast result.


The documentation for this struct was generated from the following file:
  • /home/travis/build/urho3d/Urho3D/Source/Urho3D/Graphics/OctreeQuery.h