◆ notifyRaycastHit()
| virtual decimal AnvilRaycastCallback::notifyRaycastHit |
( |
const RaycastInfo & | info | ) |
|
|
inlineoverridevirtual |
Handles notification of a ray hit event
- Parameters
-
| info | Contains detailed information about the raycast hit |
- Returns
- The hit fraction of the raycast
◆ collider
| Collider* AnvilRaycastCallback::collider = nullptr |
◆ fraction
| float AnvilRaycastCallback::fraction = 1.0f |
◆ hit
| bool AnvilRaycastCallback::hit = false |
◆ normal
| glm::vec3 AnvilRaycastCallback::normal |
◆ point
| glm::vec3 AnvilRaycastCallback::point |
◆ [struct]
| struct { ... } AnvilRaycastCallback::result |
The documentation for this class was generated from the following file: