Plasma Engine  2.0
Loading...
Searching...
No Matches
plSnapProvider Class Reference

Static Public Member Functions

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

Static Public Attributes

static plEvent< const plSnapProviderEvent & > s_Events
 

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