Urho3D::PhysicsRaycastResult2D Struct Reference

2D Physics raycast hit. More...

#include <PhysicsWorld2D.h>

Collaboration diagram for Urho3D::PhysicsRaycastResult2D:

Public Member Functions

 PhysicsRaycastResult2D ()
 Construct with defaults.
bool operator!= (const PhysicsRaycastResult2D &rhs) const
 Test for inequality, added to prevent GCC from complaining.

Public Attributes

Vector2 position_
 Hit worldspace position.
Vector2 normal_
 Hit worldspace normal.
float distance_
 Hit distance from ray origin.
 Rigid body that was hit.

Detailed Description

2D Physics raycast hit.

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