struct MAGES::Interaction::MAGESUIInputModule::RaycastHitData¶
Overview¶
Information for a hit. More…
struct RaycastHitData { // fields Vector3 Position; Vector3 Normal; float Distance; GameObject GameObject; };
Detailed Documentation¶
Information for a hit.
Fields¶
Vector3 Position
The hit position.
Vector3 Normal
The hit normal.
float Distance
The distance of hit.
GameObject GameObject
The gameobject that was hit.