Nebula
Loading...
Searching...
No Matches
Physics::RaycastHit Struct Reference

#include <scenequery.h>

Detailed Description

A raycast hit.

Note
The field order is the layout the C# mirror is generated from, so both sides have to be synced. The order puts the 16 byte math values after the four byte ones, which is what makes the padding the same on both sides.

Public Attributes

uint64_t entity
uint32_t shapeId
float distance
Math::vec3 point
Math::vec3 normal
uint32_t faceIndex

Member Data Documentation

◆ distance

float Physics::RaycastHit::distance

◆ entity

uint64_t Physics::RaycastHit::entity

◆ faceIndex

uint32_t Physics::RaycastHit::faceIndex

◆ normal

Math::vec3 Physics::RaycastHit::normal

◆ point

Math::vec3 Physics::RaycastHit::point

◆ shapeId

uint32_t Physics::RaycastHit::shapeId

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