3#include <EditorFramework/EditorFrameworkDLL.h>
4#include <Foundation/Communication/Event.h>
5#include <Foundation/Math/Declarations.h>
16 TranslationSnapChanged
25 static void Startup();
26 static void Shutdown();
28 static plAngle GetRotationSnapValue();
29 static float GetScaleSnapValue();
30 static float GetTranslationSnapValue();
32 static void SetRotationSnapValue(
plAngle angle);
33 static void SetScaleSnapValue(
float fPercentage);
34 static void SetTranslationSnapValue(
float fUnits);
37 static void SnapTranslation(
plVec3& value);
40 static void SnapTranslationInLocalSpace(
const plQuat& qRotation,
plVec3& ref_vTranslation);
42 static void SnapRotation(
plAngle& ref_rotation);
44 static void SnapScale(
float& ref_fScale);
45 static void SnapScale(
plVec3& ref_vScale);
53 static void PreferenceChangedEventHandler(
plPreferences* pPreferenceBase);
55 static plAngle s_RotationSnapValue;
56 static float s_fScaleSnapValue;
57 static float s_fTranslationSnapValue;
58 static plEventSubscriptionID s_UserPreferencesChanged;
Float wrapper struct for a safe usage and conversions of angles.
Definition Angle.h:10
Base class for all preferences.
Definition Preferences.h:17
Definition SnapProvider.h:23
Definition EditorApp.moc.h:35
Definition SnapProvider.h:11