XII Release 0.1.0
Loading...
Searching...
No Matches
xiiSnapProvider Class Reference

Static Public Member Functions

static void Startup ()
 
static void Shutdown ()
 
static xiiAngle GetRotationSnapValue ()
 
static float GetScaleSnapValue ()
 
static float GetTranslationSnapValue ()
 
static void SetRotationSnapValue (xiiAngle angle)
 
static void SetScaleSnapValue (float fPercentage)
 
static void SetTranslationSnapValue (float fUnits)
 
static void SnapTranslation (xiiVec3 &value)
 Rounds each component to the closest translation snapping value.
 
static void SnapTranslationInLocalSpace (const xiiQuat &qRotation, xiiVec3 &ref_vTranslation)
 Inverts the rotation, applies that to the translation, snaps it and then transforms it back into the original space.
 
static void SnapRotation (xiiAngle &ref_rotation)
 
static void SnapScale (float &ref_fScale)
 
static void SnapScale (xiiVec3 &ref_vScale)
 
static xiiVec3 GetScaleSnapped (const xiiVec3 &vScale)
 

Static Public Attributes

static xiiEvent< const xiiSnapProviderEvent & > s_Events
 

The documentation for this class was generated from the following files: