Urho3D
Public Member Functions | Public Attributes | List of all members
Urho3D::RayQueryResult Struct Reference

Raycast result. More...

#include </home/runner/work/rurho3d.github.io/rurho3d.github.io/urho3d_repo/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.
 
Drawabledrawable_
 Drawable.
 
Nodenode_
 Scene node.
 
i32 subObject_ {}
 Drawable specific subobject if applicable.
 

Detailed Description

Raycast result.


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