4 #include <UnigineNode.h> 5 #include <UnigineVector.h> 6 #include <editor/EditorGlobal.h> 50 static bool isManipulatorsEnabled();
51 static void setManipulatorsEnabled(
bool enabled);
53 static bool isTransformTypeEnabled(TransformType type);
55 static bool isBasisEnabled();
57 static TransformType getTransformType();
58 static void setTransformType(TransformType type);
60 static BasisType getBasisType();
61 static void setBasisType(BasisType type);
63 static PivotPointType getPivotPointType();
64 static void setPivotPointType(PivotPointType type);
66 static bool isPositionSnappingEnabled();
67 static void setPositionSnappingEnabled(
bool enabled);
69 static GridMode getPositionSnappingMode();
70 static void setPositionSnappingMode(GridMode mode);
72 static float getPositionSnappingByGridStep();
73 static void setPositionSnappingByGridStep(
float step);
75 static bool isRotationSnappingEnabled();
76 static void setRotationSnappingEnabled(
bool enabled);
78 static float getRotationSnappingStep();
79 static void setRotationSnappingStep(
float step);
81 static bool isScaleSnappingEnabled();
82 static void setScaleSnappingEnabled(
bool enabled);
84 static float getScaleSnappingStep();
85 static void setScaleSnappingStep(
float step);
88 static bool isSnapToSurfaceEnabled();
90 static float getSnapToSurfaceOffset();
91 static void setSnapToSurfaceOffset(
float offset);
93 static bool isSnapToSurfaceOrientByNormal();
94 static void setSnapToSurfaceOrientByNormal(
bool value);
96 static void snapToSurfaceNode(
const Unigine::NodePtr &node);
97 static void snapToSurfaceNodeList(
const Unigine::Vector<Unigine::NodePtr> &nodes);
100 static DropDirection getDropToGroundDirection();
101 static void setDropToGroundDirection(DropDirection direction);
103 static float getDropToGroundOffset();
104 static void setDropToGroundOffset(
float offset);
106 static bool getDropToGroundOrientByNormal();
107 static void setDropToGroundOrientByNormal(
bool value);
109 static int getDropToGroundMask();
110 static void setDropToGroundMask(
int mask);
112 static void dropToGroundNode(
const Unigine::NodePtr &node);
113 static void dropToGroundNodeList(
const Unigine::Vector<Unigine::NodePtr> &nodes);