#include <lib_sculptbrush.h>
If SculptBrushParams::EnableMouseData(true) has been set for the brush then you will receive this data structure in the SculptBrushToolData::MouseData method as the mouse moves over the surface of the model.
Public Attributes | |
| SculptObject * | pObject | 
| Vector | mouseCoord | 
| Vector | hitPoint | 
| Vector32 | normal | 
| Vector | barryCoord | 
| Int | polygon | 
| Bool | mouseDrag | 
| Float | distance | 
| Bool | isBackface | 
| SculptObject* pObject | 
The selected Object underneath the mouse.
| Vector mouseCoord | 
The screen coordinates for the mouse location in the current viewport.
| Vector hitPoint | 
The hitpoint on the surface of the model at the center of the brush dab.
| Vector32 normal | 
The normal on the surface of the model at the center of the brush dab.
| Vector barryCoord | 
The barycentric coordinates within the triangle for the hit polygon.
| Int polygon | 
The Index of the hit polygon.
| Bool mouseDrag | 
This will be set to true if the mouse button is held down and being dragged in the viewport.
| Float distance | 
The distance from the mouse in local space to the surface of the object.
| Bool isBackface | 
This will be set to true if the polygon under the mouse is backfacing.