#include <lib_sculpt.h>
Data structure filled out by the SculptObject::Hit() methods.
Public Attributes |
|
向量 | localHitPoint |
Vector32 | localHitNormal |
Int32 | selectedPolygon |
Float | distance |
Bool | backface |
向量 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
。见
SculptObject::Hit(const Vector &rayp, const Vector &rayv, Bool backfaces, SculptHitData &hitData)
.
Bool backface |
The hit polygon was a backfacing polygon.