GizmoProfile
Engine/source/gui/worldEditor/gizmo.h
Public Types
enum
Flags { CanRotate = 1 << 0 CanRotateX = 1 << 1 CanRotateY = 1 << 2 CanRotateZ = 1 << 3 CanRotateScreen = 1 << 4 CanRotateUniform = 1 << 5 CanScale = 1 << 6 CanScaleX = 1 << 7 CanScaleY = 1 << 8 CanScaleZ = 1 << 9 CanScaleUniform = 1 << 10 CanTranslate = 1 << 11 CanTranslateX = 1 << 12 CanTranslateY = 1 << 13 CanTranslateZ = 1 << 14 CanTranslateUniform = 1 << 15 PlanarHandlesOn = 1 << 16 }
Private Types
Parent
Public Attributes
bool
bool
bool
axisColors [3]
bool
bool
bool
bool
Whether to render a transparent grid overlay when using the move gizmo.
bool
bool
bool
bool
bool
Public Functions
bool
onAdd()
Called when the object is added to the sim.
Set flags to default values.
Public Static Functions
Detailed Description
Public Types
Flags
Enumerator
- CanRotate = 1 << 0
- CanRotateX = 1 << 1
- CanRotateY = 1 << 2
- CanRotateZ = 1 << 3
- CanRotateScreen = 1 << 4
- CanRotateUniform = 1 << 5
- CanScale = 1 << 6
- CanScaleX = 1 << 7
- CanScaleY = 1 << 8
- CanScaleZ = 1 << 9
- CanScaleUniform = 1 << 10
- CanTranslate = 1 << 11
- CanTranslateX = 1 << 12
- CanTranslateY = 1 << 13
- CanTranslateZ = 1 << 14
- CanTranslateUniform = 1 << 15
- PlanarHandlesOn = 1 << 16
Private Types
typedef SimObject Parent
Public Attributes
ColorI activeColor
GizmoAlignment alignment
bool allAxesScaleUniform
bool allowSnapRotations
bool allowSnapScale
ColorI axisColors [3]
ColorI centroidColor
ColorI centroidHighlightColor
S32 flags
Resource< GFont > font
bool forceSnapRotations
ColorI gridColor
Point3F gridSize
bool hideDisabledAxes
ColorI inActiveColor
GizmoMode mode
F32 planeDim
bool renderInfoText
bool renderMoveGrid
Whether to render a transparent grid overlay when using the move gizmo.
bool renderPlane
bool renderPlaneHashes
bool renderSolid
bool renderWhenUsed
F32 rotateScalar
F32 rotationSnap
F32 scaleScalar
F32 scaleSnap
U32 screenLen
bool snapToGrid
Public Functions
GizmoProfile()
~GizmoProfile()
DECLARE_CONOBJECT(GizmoProfile )
onAdd()
Reimplemented from: SimObject
restoreDefaultState()
Set flags to default values.