#include <lib_sculpt.h>
Data structure filled out by the SculptObject::Hit() methods.
Public Attributes | |
Vector | localHitPoint |
Vector32 | localHitNormal |
Int32 | selectedPolygon |
Float | distance |
Bool | backface |
Vector localHitPoint |
The location of the hit point on the surface of the object in its local coordinate system.
Vector32 localHitNormal |
The normal of the hit point on the surface of the object in its local coordinate system.
Int32 selectedPolygon |
The polygon that was hit.
Float distance |
The distance from rayp
. See SculptObject::Hit(const Vector &rayp, const Vector &rayv, Bool backfaces, SculptHitData &hitData).
Bool backface |
The hit polygon was a backfacing polygon.