IntersectHitData Struct Reference Library » Intersect
#include <lib_intersect.h>
Intersection hit data structure for:
Public Attributes |
|
| 向量 | localHitPoint |
| Vector32 | localHitNormal |
| Int32 | selectedPolygon |
| Float | distance |
| Bool | backface |
| PolygonObject * | pObject |
| 向量 localHitPoint |
The location of the hit point on the surface of the object in the object's local coordinate system.
| Vector32 localHitNormal |
The normal of the hit point on the surface of the object in the object's local coordinate system.
| Int32 selectedPolygon |
The polygon that was hit.
| Float distance |
The distance from the ray starting position in object space.
| Bool backface |
true if the hit polygon is a backfacing polygon, otherwise false .
| PolygonObject * pObject |
The polygon object that was hit.