Navigation
API > API/Editor > API/Editor/EditorInteractiveToolsFramework
| Name | UEditorTRSGizmo |
| Type | class |
| Header File | /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Public/EditorGizmos/EditorTRSGizmo.h |
| Include Path | #include "EditorGizmos/EditorTRSGizmo.h" |
Syntax
UCLASS (MinimalAPI)
class UEditorTRSGizmo :
public UEditorTransformGizmo ,
public ISingleClickAndDragBehaviorTarget ,
public IKeyInputBehaviorTarget
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UInteractiveGizmo → UTransformGizmo → UEditorTransformGizmo → UEditorTRSGizmo
Implements Interfaces
- IClickDragBehaviorTarget
- IModifierToggleBehaviorTarget
- IHoverBehaviorTarget
- IInputBehaviorSource
- IKeyInputBehaviorTarget
- ISingleClickAndDragBehaviorTarget
Structs
| Name | Remarks |
|---|---|
| FGizmoDebugData | |
| FGizmoElementInteraction | Defines various interaction state behavior. |
| FGizmoNudgeData | |
| FModeAxisOverride |
Enums
Public
| Name | Remarks |
|---|---|
| ENudgeDirection |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AlignedInteractionAngleOffset | double | The difference between the angle in screen-space vs. world-space, if applicable. | EditorGizmos/EditorTRSGizmo.h | |
| AlignedInteractionPlanarNormal | FVector | The normal direction of the current axis, which may or may not be the same as InteractionPlanarNormal. | EditorGizmos/EditorTRSGizmo.h | |
| DebugProvider | TObjectPtr< UGizmoDebugProvider > | Debug Info provider | EditorGizmos/EditorTRSGizmo.h | |
| Interaction | FTransformGizmoInteraction | Interaction contains various user-defined options for gizmo interaction. | EditorGizmos/EditorTRSGizmo.h | |
| InteractionBidirection | FVector | EditorGizmos/EditorTRSGizmo.h | ||
| InteractionBidirection2D | FVector2D | EditorGizmos/EditorTRSGizmo.h | ||
| InteractionDelta | FVector | Store accumulatively applied delta. | EditorGizmos/EditorTRSGizmo.h | |
| InteractionDeltaDivisor | double | EditorGizmos/EditorTRSGizmo.h | ||
| InteractionPlanarCurrDistance | double | EditorGizmos/EditorTRSGizmo.h | ||
| InteractionPlanarCurrPoint2D | FVector2D | EditorGizmos/EditorTRSGizmo.h | ||
| InteractionPlanarStartDistance | double | EditorGizmos/EditorTRSGizmo.h | ||
| InteractionPlanarStartPoint2D | FVector2D | EditorGizmos/EditorTRSGizmo.h | ||
| InteractionReferencePointOffsetDistance | double | EditorGizmos/EditorTRSGizmo.h | ||
| InteractionScreenObjectPos2D | FVector2D | EditorGizmos/EditorTRSGizmo.h | ||
| InteractionStartSign | double | Initial sign of the interaction, if applicable. | EditorGizmos/EditorTRSGizmo.h | |
| Style | FTransformGizmoStyle | Style contains various uniform and varying properties that affect the appearance of this gizmo. | EditorGizmos/EditorTRSGizmo.h | |
| ViewToAlignedSign | UE::Math::TIntVector3< int8 > | Used to translate interaction direction to aligned (accounts for flipping, etc.) | EditorGizmos/EditorTRSGizmo.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ClickAndDragBehaviorWeak | TWeakObjectPtr< USingleClickAndDragBehavior > | EditorGizmos/EditorTRSGizmo.h | ||
| DebugData | UEditorTRSGizmo::FGizmoDebugData | EditorGizmos/EditorTRSGizmo.h | ||
| GizmoElementInteraction | UEditorTRSGizmo::FGizmoElementInteraction | EditorGizmos/EditorTRSGizmo.h | ||
| ModeAxisOverride | TOptional< FModeAxisOverride > | EditorGizmos/EditorTRSGizmo.h | ||
| NudgeData | FGizmoNudgeData | EditorGizmos/EditorTRSGizmo.h | ||
| Profiler | TSharedPtr< UE::Editor::InteractiveToolsFramework::FTransformGizmoProfiler > | EditorGizmos/EditorTRSGizmo.h | ||
| SelectionSetWeak | TWeakObjectPtr< const UTypedElementSelectionSet > | EditorGizmos/EditorTRSGizmo.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FTransformGizmoStyle & GetStyle() |
EditorGizmos/EditorTRSGizmo.h | ||
void SetGizmoViewContext
(
UGizmoViewContext* InGizmoViewContext |
Sets the Gizmo view context, needed for screen space interactions | EditorGizmos/EditorTRSGizmo.h | |
void SetStyle
(
const FTransformGizmoStyle& InStyle |
Sets and applies the given Style. | EditorGizmos/EditorTRSGizmo.h |
Public Virtual
Overridden from UTransformGizmo
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginTransformEditSequence() |
Called at the start of a sequence of gizmo transform edits | EditorGizmos/EditorTRSGizmo.h | |
virtual void EndTransformEditSequence() |
Called at the end of a sequence of gizmo transform edits. | EditorGizmos/EditorTRSGizmo.h | |
virtual void HandleWidgetModeChanged
(
UE::Widget::EWidgetMode InWidgetMode |
Handle widget mode changed. | EditorGizmos/EditorTRSGizmo.h | |
virtual void OnParametersChanged
(
const FGizmosParameters& InParameters |
Handle user parameters changes | EditorGizmos/EditorTRSGizmo.h |
Overridden from UInteractiveGizmo
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void DrawHUD
(
FCanvas* Canvas, |
EditorGizmos/EditorTRSGizmo.h | ||
virtual void Render
(
IToolsContextRenderAPI* RenderAPI |
UTransformGizmo override | EditorGizmos/EditorTRSGizmo.h | |
virtual void Setup() |
EditorGizmos/EditorTRSGizmo.h | ||
virtual void Tick
(
float DeltaTime |
EditorGizmos/EditorTRSGizmo.h |
Overridden from IHoverBehaviorTarget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FInputRayHit BeginHoverSequenceHitTest
(
const FInputDeviceRay& PressPos |
IHoverBehaviorTarget implementation. | EditorGizmos/EditorTRSGizmo.h | |
virtual void OnBeginHover
(
const FInputDeviceRay& DevicePos |
EditorGizmos/EditorTRSGizmo.h | ||
virtual void OnEndHover() |
EditorGizmos/EditorTRSGizmo.h | ||
virtual bool OnUpdateHover
(
const FInputDeviceRay& DevicePos |
EditorGizmos/EditorTRSGizmo.h |
Overridden from IModifierToggleBehaviorTarget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnForceEndCapture() |
EditorGizmos/EditorTRSGizmo.h | ||
virtual void OnUpdateModifierState
(
int ModifierID, |
EditorGizmos/EditorTRSGizmo.h |
Overridden from IClickDragBehaviorTarget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnClickDrag
(
const FInputDeviceRay& DragPos |
EditorGizmos/EditorTRSGizmo.h | ||
virtual void OnClickPress
(
const FInputDeviceRay& PressPos |
EditorGizmos/EditorTRSGizmo.h |
Overridden from ISingleClickAndDragBehaviorTarget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FInputRayHit CanBeginSingleClickAndDragSequence
(
const FInputDeviceRay& InPressPos |
Test if target can begin click-drag interaction at this point | EditorGizmos/EditorTRSGizmo.h | |
virtual void OnClickRelease
(
const FInputDeviceRay& InReleasePos, |
Notify Target that click release occurred | EditorGizmos/EditorTRSGizmo.h | |
virtual void OnDragStart
(
const FInputDeviceRay& InDragPos |
Notify Target that the drag process has started | EditorGizmos/EditorTRSGizmo.h | |
virtual void OnTerminateSingleClickAndDragSequence() |
Notify Target that click-drag sequence has been explicitly terminated (eg by escape key) | EditorGizmos/EditorTRSGizmo.h |
Overridden from IKeyInputBehaviorTarget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnKeyPressed
(
const FKey& KeyID |
EditorGizmos/EditorTRSGizmo.h | ||
virtual void OnKeyReleased
(
const FKey& KeyID |
EditorGizmos/EditorTRSGizmo.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ApplySnappingUpdateDeltas
(
const FInputDeviceRay& DragPos |
Used when TRS Snapping flag has changed, and gizmo needs to adjust accordingly | EditorGizmos/EditorTRSGizmo.h | |
void ApplySurfaceSnappingUpdateDeltas
(
const FInputDeviceRay& DragPos |
Used when Surface Snapping flag has changed, and gizmo needs to adjust accordingly | EditorGizmos/EditorTRSGizmo.h | |
void CacheCursorPosition() |
EditorGizmos/EditorTRSGizmo.h | ||
void CacheSnappingStates() |
EditorGizmos/EditorTRSGizmo.h | ||
void DrawDebug
(
FCanvas* InCanvas, |
Renders various debug visualizations, if enabled. Canvas is only valid when called from DrawHUD. | EditorGizmos/EditorTRSGizmo.h | |
void EndDeltas() |
Ends all Delta states/visuals. | EditorGizmos/EditorTRSGizmo.h | |
FTransform GetActiveTransform() |
EditorGizmos/EditorTRSGizmo.h | ||
float GetCursorRotation() |
EditorGizmos/EditorTRSGizmo.h | ||
TSharedPtr< SWidget > GetCursorWidget
(
const ETransformGizmoPartIdentifier InHitPartId |
EditorGizmos/EditorTRSGizmo.h | ||
void HandleSnappingChanges
(
const FInputDeviceRay& DragPos |
EditorGizmos/EditorTRSGizmo.h | ||
bool HasCurrentTRSSnappingChanged() |
EditorGizmos/EditorTRSGizmo.h | ||
bool HasSurfaceSnappingChanged() |
EditorGizmos/EditorTRSGizmo.h | ||
UGizmoElementRotateAxis * MakeRotateAxis
(
const ETransformGizmoPartIdentifier InPartId, |
Construct rotate axis. | EditorGizmos/EditorTRSGizmo.h | |
void OnDragStartTranslateAxis
(
const FInputDeviceRay& PressPos |
Handle drag start for translate axes | EditorGizmos/EditorTRSGizmo.h | |
void OnSelectionChanged
(
const UTypedElementSelectionSet* InElementSelectionSet |
EditorGizmos/EditorTRSGizmo.h | ||
void ResetSelectedStates
(
const EGizmoTransformMode InMode |
Reset all selected states related to the transform mode to false | EditorGizmos/EditorTRSGizmo.h | |
void ResetSubdueStates
(
const EGizmoTransformMode InMode |
Reset all subdued states related to the transform mode to false | EditorGizmos/EditorTRSGizmo.h | |
void RestoreCursorPosition() |
EditorGizmos/EditorTRSGizmo.h | ||
void SnapRotateAngleDelta
(
double& InOutAngleDelta, |
EditorGizmos/EditorTRSGizmo.h | ||
void SnapRotateDelta
(
FQuat& InOutWorldDelta, |
EditorGizmos/EditorTRSGizmo.h | ||
void SnapScaleDelta
(
FVector& InOutLocalScaleDelta, |
EditorGizmos/EditorTRSGizmo.h | ||
void SnapTranslate
(
FVector& InOutWorldDelta, |
Apply transform delta methods | EditorGizmos/EditorTRSGizmo.h | |
void UpdateCursor
(
const EGizmoElementInteractionState InState, |
EditorGizmos/EditorTRSGizmo.h | ||
void UpdateCursorRotation
(
const FInputDeviceRay& InPressPos |
EditorGizmos/EditorTRSGizmo.h | ||
void UpdateElement
(
UGizmoElementBase* InElement, |
Updates the given element with properties common to all. | EditorGizmos/EditorTRSGizmo.h |
Protected Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ApplyTranslate
(
const FVector& InTranslate |
Screen-space helper method Apply transform methods | EditorGizmos/EditorTRSGizmo.h | |
virtual bool GetRayParamIntersectionWithPlane
(
const FRay& InRay, |
Return true if input ray intersects the given plane and return param along ray in OutHitParam | EditorGizmos/EditorTRSGizmo.h | |
virtual UGizmoElementTorus * MakeRotateAxis
(
ETransformGizmoPartIdentifier InPartId, |
Construct rotate axis handle | EditorGizmos/EditorTRSGizmo.h | |
virtual UGizmoElementArc * MakeRotateAxisArc
(
ETransformGizmoPartIdentifier InPartId, |
Construct rotate axis arc handle | EditorGizmos/EditorTRSGizmo.h | |
virtual UGizmoElementRotateAxisSet * MakeRotateAxisSet
(
const EAxisList::Type InAxisList |
Construct rotate axis set. | EditorGizmos/EditorTRSGizmo.h | |
virtual UGizmoElementRotateAxis * MakeRotateScreenSpaceHandle() |
Construct rotate screen space handle | EditorGizmos/EditorTRSGizmo.h | |
virtual UGizmoElementScaleGroup * MakeScaleGroup
(
const EAxisList::Type InAxisList |
Construct scale group. | EditorGizmos/EditorTRSGizmo.h | |
virtual UGizmoElementTranslateGroup * MakeTranslateGroup
(
const EAxisList::Type InAxisList |
Construct translate group. | EditorGizmos/EditorTRSGizmo.h | |
virtual void OnClickPressScalePlanar
(
const FInputDeviceRay& PressPos |
Handle click press for scale planar | EditorGizmos/EditorTRSGizmo.h | |
virtual void UpdateArcballCircleHandle
(
UGizmoElementCircle* InElement |
Updates the given arcball handle with the current parameters (ie. size coefficient) | EditorGizmos/EditorTRSGizmo.h | |
virtual void UpdateMaterials() |
Updated referenced materials according to current parameters. | EditorGizmos/EditorTRSGizmo.h | |
virtual void UpdateRotateAxis
(
UGizmoElementRotateAxis* InElement, |
Updates the given rotate axis with the current parameters (ie. size coefficient). | EditorGizmos/EditorTRSGizmo.h | |
virtual void UpdateRotateAxisArc
(
UGizmoElementArc* InElement, |
Updates the given rotate axis arc handle with the current parameters (ie. size coefficient) | EditorGizmos/EditorTRSGizmo.h | |
virtual void UpdateRotateAxisSet
(
UGizmoElementRotateAxisSet* InElement |
Updates the given rotate axis set with the current parameters (ie. size coefficient) | EditorGizmos/EditorTRSGizmo.h | |
virtual void UpdateRotateScreenSpaceHandle
(
UGizmoElementRotateAxis* InElement |
Updates the given rotate screen space handle with the current parameters (ie. size coefficient) | EditorGizmos/EditorTRSGizmo.h | |
virtual void UpdateScaleGroup
(
UGizmoElementScaleGroup* InElement |
Updates the given scale group with the current parameters (ie. size coefficient) | EditorGizmos/EditorTRSGizmo.h | |
virtual void UpdateSelectedState
(
const bool bInSelected, |
Update selected state for given part id | EditorGizmos/EditorTRSGizmo.h | |
virtual void UpdateSubdueState
(
const bool bInSubdued, |
Update subdued state for given part id | EditorGizmos/EditorTRSGizmo.h | |
virtual void UpdateTranslateGroup
(
UGizmoElementTranslateGroup* InElement |
Updates the given translate group with the current parameters (ie. size coefficient) | EditorGizmos/EditorTRSGizmo.h |
Overridden from UTransformGizmo
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ApplyScaleDelta
(
const FVector& InScaleDelta |
Apply scale delta to transform proxy | EditorGizmos/EditorTRSGizmo.h | |
virtual bool CanInteract
(
const EViewportContext InViewportContext |
Returns true if the gizmo can be interacted with. | EditorGizmos/EditorTRSGizmo.h | |
virtual bool CanRender
(
IToolsContextRenderAPI* InRenderAPI |
Returns true if the gizmo should be rendered. | EditorGizmos/EditorTRSGizmo.h | |
virtual double ComputeAxisRotateDeltaAngle
(
const FVector2D& InStartPos, |
Compute angle (degrees) delta based on screen-space start/end positions. | EditorGizmos/EditorTRSGizmo.h | |
virtual FQuat ComputeGimbalRotateDelta
(
const FVector2D& InStartPos, |
Compute gimbal rotate delta based on screen-space start/end positions | EditorGizmos/EditorTRSGizmo.h | |
virtual FVector ComputeScaleDelta
(
const FVector2D& InStartPos, |
Compute scale delta based on screen space start/end positions | EditorGizmos/EditorTRSGizmo.h | |
virtual void EnableMode
(
EGizmoTransformMode InGizmoMode, |
Enable the given mode with the specified axes, EAxisList::Type::None will hide objects associated with mode | EditorGizmos/EditorTRSGizmo.h | |
virtual void EnableRotate
(
EAxisList::Type InAxisListToDraw |
Enable rotate using specified axis list | EditorGizmos/EditorTRSGizmo.h | |
virtual void EnableScale
(
EAxisList::Type InAxisListToDraw |
Enable scale using specified axis list | EditorGizmos/EditorTRSGizmo.h | |
virtual void EnableTranslate
(
EAxisList::Type InAxisListToDraw |
Enable translate using specified axis list | EditorGizmos/EditorTRSGizmo.h | |
virtual FVector GetGimbalRotationAxis
(
const int32 InAxis |
Get gimbal rotation axis (InAxis is expected to be in [0,2] range) | EditorGizmos/EditorTRSGizmo.h | |
virtual FTransform GetGizmoTransform() |
Get gizmo transform based on cached current transform. | EditorGizmos/EditorTRSGizmo.h | |
virtual bool GetRayParamIntersectionWithInteractionPlane
(
const FInputDeviceRay& InRay, |
Return true if input ray intersects current interaction plane and return param along ray in OutHitParam | EditorGizmos/EditorTRSGizmo.h | |
virtual FVector2D GetScreenGimbalRotateAxisDir
(
const FInputDeviceRay& InPressPos |
@TODO: Overwrite GetScreenGimbalRotateAxisDir | EditorGizmos/EditorTRSGizmo.h | |
virtual FVector2D GetScreenRotateAxisDir
(
const FInputDeviceRay& InPressPos |
@TODO: Overwrite GetScreenRotateAxisDir | EditorGizmos/EditorTRSGizmo.h | |
virtual UGizmoElementCircle * MakeArcballCircleHandle
(
ETransformGizmoPartIdentifier InPartId, |
Construct arcball screen space handle | EditorGizmos/EditorTRSGizmo.h | |
virtual UGizmoElementTorus * MakeRotateAxis
(
ETransformGizmoPartIdentifier InPartId, |
Construct rotate axis. | EditorGizmos/EditorTRSGizmo.h | |
virtual void OnClickDragArcBallRotate
(
const FInputDeviceRay& DragPos |
Handle click drag for arc ball rotate | EditorGizmos/EditorTRSGizmo.h | |
virtual void OnClickDragGimbalRotateAxis
(
const FInputDeviceRay& InDragPos |
Handle click drag for gimbal rotate axis | EditorGizmos/EditorTRSGizmo.h | |
virtual void OnClickDragRotateAxis
(
const FInputDeviceRay& InDragPos |
Handle click drag for rotate axis | EditorGizmos/EditorTRSGizmo.h | |
virtual void OnClickDragScale
(
const FInputDeviceRay& DragPos |
Handle click drag for all scale | EditorGizmos/EditorTRSGizmo.h | |
virtual void OnClickDragScreenSpaceRotate
(
const FInputDeviceRay& InDragPos |
Handle click drag for screen-space rotate | EditorGizmos/EditorTRSGizmo.h | |
virtual void OnClickDragScreenSpaceTranslate
(
const FInputDeviceRay& DragPos |
Handle click drag for screen-space translate | EditorGizmos/EditorTRSGizmo.h | |
virtual void OnClickDragTranslateAxis
(
const FInputDeviceRay& DragPos |
Handle click drag for translate axes | EditorGizmos/EditorTRSGizmo.h | |
virtual void OnClickDragTranslatePlanar
(
const FInputDeviceRay& DragPos |
Handle click drag for translate planar | EditorGizmos/EditorTRSGizmo.h | |
virtual void OnClickPressArcBallRotate
(
const FInputDeviceRay& PressPos |
Arc ball rotate interaction methods Handle click press for arc ball rotate | EditorGizmos/EditorTRSGizmo.h | |
virtual void OnClickPressAxis
(
const FInputDeviceRay& PressPos |
Translate axis click-drag handling methods Handle click press for translate axes | EditorGizmos/EditorTRSGizmo.h | |
virtual void OnClickPressGimbalRotateAxis
(
const FInputDeviceRay& InPressPos |
Gimbal rotate interaction methods note that gimbal rotation release functions use OnClickReleaseRotateAxis Handle click press for any gimbal rotate axis | EditorGizmos/EditorTRSGizmo.h | |
virtual bool OnClickPressRotateArc
(
const FInputDeviceRay& InPressPos, |
Prepares data for arc rotation. | EditorGizmos/EditorTRSGizmo.h | |
virtual void OnClickPressRotateAxis
(
const FInputDeviceRay& InPressPos |
Rotate interaction methods Handle click press for any rotate axis | EditorGizmos/EditorTRSGizmo.h | |
virtual void OnClickPressScale
(
const FInputDeviceRay& PressPos |
Handle click press for all scale methods | EditorGizmos/EditorTRSGizmo.h | |
virtual void OnClickPressScaleXAxis
(
const FInputDeviceRay& PressPos |
Scale click-drag handling methods Handle click press for scale X axis | EditorGizmos/EditorTRSGizmo.h | |
virtual void OnClickPressScaleXYPlanar
(
const FInputDeviceRay& PressPos |
Handle click press for scale XY planar | EditorGizmos/EditorTRSGizmo.h | |
virtual void OnClickPressScaleXZPlanar
(
const FInputDeviceRay& PressPos |
Handle click press for scale XZ planar | EditorGizmos/EditorTRSGizmo.h | |
virtual void OnClickPressScaleYAxis
(
const FInputDeviceRay& PressPos |
Handle click press for scale Y axis | EditorGizmos/EditorTRSGizmo.h | |
virtual void OnClickPressScaleYZPlanar
(
const FInputDeviceRay& PressPos |
Handle click press for scale YZ planar | EditorGizmos/EditorTRSGizmo.h | |
virtual void OnClickPressScaleZAxis
(
const FInputDeviceRay& PressPos |
Handle click press for scale Z axis | EditorGizmos/EditorTRSGizmo.h | |
virtual void OnClickPressScreenSpaceRotate
(
const FInputDeviceRay& PressPos |
Screen-space rotate interaction methods Handle click press for screen-space rotate | EditorGizmos/EditorTRSGizmo.h | |
virtual void OnClickPressScreenSpaceTranslate
(
const FInputDeviceRay& PressPos |
Screen-space translate interaction methods Handle click press for screen-space translate | EditorGizmos/EditorTRSGizmo.h | |
virtual void OnClickPressTranslatePlanar
(
const FInputDeviceRay& PressPos |
Translate and scale planar click-drag handling methods | EditorGizmos/EditorTRSGizmo.h | |
virtual void OnClickReleaseRotateAxis
(
const FInputDeviceRay& InReleasePos |
Handle click release for rotate axes | EditorGizmos/EditorTRSGizmo.h | |
virtual void OnClickReleaseScaleAxis
(
const FInputDeviceRay& ReleasePos |
Handle click release for scale axes | EditorGizmos/EditorTRSGizmo.h | |
virtual void OnClickReleaseScalePlanar
(
const FInputDeviceRay& ReleasePos |
Handle click release for scale planar | EditorGizmos/EditorTRSGizmo.h | |
virtual void OnClickReleaseScaleXYZ
(
const FInputDeviceRay& ReleasePos |
Handle click release for uniform scale | EditorGizmos/EditorTRSGizmo.h | |
virtual void OnClickReleaseScreenSpaceRotate
(
const FInputDeviceRay& ReleasePos |
Handle click release for screen-space rotate | EditorGizmos/EditorTRSGizmo.h | |
virtual void OnClickReleaseScreenSpaceTranslate
(
const FInputDeviceRay& ReleasePos |
Handle click release for screen-space translate | EditorGizmos/EditorTRSGizmo.h | |
virtual void OnClickReleaseTranslateAxis
(
const FInputDeviceRay& ReleasePos |
Handle click release for translate axes | EditorGizmos/EditorTRSGizmo.h | |
virtual void OnClickReleaseTranslatePlanar
(
const FInputDeviceRay& ReleasePos |
Handle click release for translate planar | EditorGizmos/EditorTRSGizmo.h | |
virtual void ResetInteractingStates
(
const EGizmoTransformMode InMode |
Reset all interacting states related to the transform mode to false | EditorGizmos/EditorTRSGizmo.h | |
virtual void SetupBehaviors() |
Setup behaviors | EditorGizmos/EditorTRSGizmo.h | |
virtual void SetupIndirectBehaviors() |
Setup indirect behaviors | EditorGizmos/EditorTRSGizmo.h | |
virtual void SetupMaterials() |
Setup materials | EditorGizmos/EditorTRSGizmo.h | |
virtual void SetupOnClickFunctions() |
Setup on click functions | EditorGizmos/EditorTRSGizmo.h | |
virtual void UpdateElements() |
Updates all gizmo elements based on current parameters | EditorGizmos/EditorTRSGizmo.h | |
virtual FInputRayHit UpdateHoveredPart
(
const FInputDeviceRay& DevicePos |
Determine hit part and update hover state based on current input ray | EditorGizmos/EditorTRSGizmo.h | |
virtual void UpdateHoverState
(
const bool bInHover, |
Update hover state for given part id | EditorGizmos/EditorTRSGizmo.h | |
virtual void UpdateInteractingState
(
const bool bInInteracting, |
Update interacting state for given part id | EditorGizmos/EditorTRSGizmo.h | |
virtual void UpdateMode() |
Update current gizmo mode based on transform source | EditorGizmos/EditorTRSGizmo.h | |
virtual void UpdateRotateAxis
(
UGizmoElementTorus* InElement |
Updates the given rotate axis handle with the current parameters (ie. size coefficient) | EditorGizmos/EditorTRSGizmo.h | |
virtual void UpdateRotationMode() |
Update current gizmo rotation mode (default or gimbal) | EditorGizmos/EditorTRSGizmo.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static int32 GetRotateAxisIndexForPart
(
const ETransformGizmoPartIdentifier InPartId |
EditorGizmos/EditorTRSGizmo.h | ||
static int32 GetScaleAxisIndexForPart
(
const ETransformGizmoPartIdentifier InPartId |
EditorGizmos/EditorTRSGizmo.h | ||
static int32 GetTranslateAxisIndexForPart
(
const ETransformGizmoPartIdentifier InPartId |
EditorGizmos/EditorTRSGizmo.h |