SculptHitData Struct Reference

#include <lib_sculpt.h>

Detailed Description

Data structure filled out by the SculptObject::Hit() methods.

Public Attributes

Vector localHitPoint
 
Vector32 localHitNormal
 
Int32 selectedPolygon
 
Float distance
 
Bool backface
 

Member Data Documentation

◆ localHitPoint

Vector localHitPoint

The location of the hit point on the surface of the object in its local coordinate system.

◆ localHitNormal

Vector32 localHitNormal

The normal of the hit point on the surface of the object in its local coordinate system.

◆ selectedPolygon

Int32 selectedPolygon

The polygon that was hit.

◆ distance

◆ backface

Bool backface

The hit polygon was a backfacing polygon.