Rebel Fork Framework
Urho3D::RayQueryResult Struct Reference

Raycast result. More...

#include <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.
 
Drawabledrawable_
 Drawable.
 
Node * node_
 Scene node.
 
unsigned subObject_ {}
 Drawable specific subobject if applicable.
 

Detailed Description

Raycast result.


The documentation for this struct was generated from the following file: