Clutter Engine 0.0.1
Loading...
Searching...
No Matches
raycastHit Struct Reference

Stores information about a raycast hit. More...

#include <HitResult.h>

Public Attributes

bool hitResult = false
 True if the raycast hit something, false otherwise.
 
clt::ActorActor = nullptr
 Pointer to the actor that was hit.
 
clt::ColliderComponentCollider = nullptr
 Pointer to the collider component that was hit.
 
Vector3 Point
 The point in world space where the ray hit.
 
Vector3 Normal
 The normal vector at the hit point.
 
float Distance = 0.0f
 The distance from the ray origin to the hit point.
 

Detailed Description

Stores information about a raycast hit.


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