Navigation
API > API/Editor > API/Editor/EditorInteractiveToolsFramework
UTransformGizmo provides standard Transformation Gizmo interactions, applied to a UTransformProxy target object. By default the Gizmo will be a standard XYZ translate/rotate Gizmo (axis and plane translation).
| Name | UTransformGizmo |
| Type | class |
| Header File | /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Public/EditorGizmos/TransformGizmo.h |
| Include Path | #include "EditorGizmos/TransformGizmo.h" |
Syntax
UCLASS (MinimalAPI)
class UTransformGizmo :
public UInteractiveGizmo ,
public IHoverBehaviorTarget ,
public IClickDragBehaviorTarget
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UInteractiveGizmo → UTransformGizmo
Implements Interfaces
Derived Classes
Structs
| Name | Remarks |
|---|---|
| FGizmoDebugData | |
| FGizmoStyle | Contains all styling properties. |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnClearActiveTarget | TMulticastDelegate_TwoParams< void, UTransformGizmo *, UTransformProxy * > | Broadcast at the beginning of a ClearActiveTarget call, when the ActiveTarget is not yet disconnected. | EditorGizmos/TransformGizmo.h |
| FOnSetActiveTarget | TMulticastDelegate_TwoParams< void, UTransformGizmo *, UTransformProxy * > | Broadcast at the end of a SetActiveTarget call. | EditorGizmos/TransformGizmo.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActiveTarget | TObjectPtr< UTransformProxy > | The active target object for the Gizmo | EditorGizmos/TransformGizmo.h | |
| bGridSizeIsExplicit | bool | Optional grid size which overrides the Context Grid | EditorGizmos/TransformGizmo.h | |
| bInInteraction | bool | Whether gizmo is interacting. | EditorGizmos/TransformGizmo.h | |
| bRotationGridSizeIsExplicit | bool | Optional grid size which overrides the Context Rotation Grid | EditorGizmos/TransformGizmo.h | |
| bSnapToWorldGrid | bool | If true, then when using world frame, Axis and Plane translation snap to the world grid via the ContextQueriesAPI (in PositionSnapFunction) | EditorGizmos/TransformGizmo.h | |
| bSnapToWorldRotGrid | bool | If true, then when using world frame, Axis and Plane translation snap to the world grid via the ContextQueriesAPI (in RotationSnapFunction) | EditorGizmos/TransformGizmo.h | |
| bVisible | bool | Whether gizmo is visible. | EditorGizmos/TransformGizmo.h | |
| ExplicitGridSize | FVector | EditorGizmos/TransformGizmo.h | ||
| ExplicitRotationGridSize | FRotator | EditorGizmos/TransformGizmo.h | ||
| GizmoElementRoot | TObjectPtr< UGizmoElementGroup > | Root of renderable gizmo elements | EditorGizmos/TransformGizmo.h | |
| GizmoViewContext | TObjectPtr< UGizmoViewContext > | Gizmo view context, needed for screen space interactions | EditorGizmos/TransformGizmo.h | |
| HitTarget | TObjectPtr< UGizmoElementHitMultiTarget > | The hit target object | EditorGizmos/TransformGizmo.h | |
| MultiIndirectClickDragBehavior | TObjectPtr< UMultiButtonClickDragBehavior > | The multi button mouse click behavior is accessible so that it can be modified to use different mouse keys. | EditorGizmos/TransformGizmo.h | |
| OnAboutToClearActiveTarget | FOnClearActiveTarget | EditorGizmos/TransformGizmo.h | ||
| OnSetActiveTarget | FOnSetActiveTarget | EditorGizmos/TransformGizmo.h | ||
| Style | UTransformGizmo::FGizmoStyle | EditorGizmos/TransformGizmo.h | ||
| TransformGizmoSource | TScriptInterface< ITransformGizmoSource > | Transform Gizmo Source | EditorGizmos/TransformGizmo.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DebugData | UTransformGizmo::FGizmoDebugData | EditorGizmos/TransformGizmo.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ClearActiveTarget() |
Clear the active target object for the Gizmo | EditorGizmos/TransformGizmo.h | |
virtual void HandleWidgetModeChanged
(
UE::Widget::EWidgetMode InWidgetMode |
Handle widget mode changed. | EditorGizmos/TransformGizmo.h | |
virtual void OnParametersChanged
(
const FGizmosParameters& InParameters |
Handle user parameters changes | EditorGizmos/TransformGizmo.h | |
virtual void SetActiveTarget
(
UTransformProxy* Target, |
Set the active target object for the Gizmo | EditorGizmos/TransformGizmo.h | |
void SetCustomizationFunction
(
const TFunction< const FGizmoCustomization()>& InFunction |
Set customization function for this Gizmo | EditorGizmos/TransformGizmo.h | |
virtual void SetDisallowNegativeScaling
(
bool bDisallow |
By default, the nonuniform scale components can scale negatively. | EditorGizmos/TransformGizmo.h | |
virtual void SetNewChildScale
(
const FVector& NewChildScale |
Explicitly set the child scale. | EditorGizmos/TransformGizmo.h | |
virtual void SetVisibility
(
bool bVisible |
Set visibility for this Gizmo | EditorGizmos/TransformGizmo.h |
Overridden from UInteractiveGizmo
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Render
(
IToolsContextRenderAPI* RenderAPI |
EditorGizmos/TransformGizmo.h | ||
virtual void Setup() |
EditorGizmos/TransformGizmo.h | ||
virtual void Shutdown() |
EditorGizmos/TransformGizmo.h | ||
virtual void Tick
(
float DeltaTime |
EditorGizmos/TransformGizmo.h |
Overridden from IHoverBehaviorTarget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FInputRayHit BeginHoverSequenceHitTest
(
const FInputDeviceRay& DevicePos |
IHoverBehaviorTarget implementation. | EditorGizmos/TransformGizmo.h | |
virtual void OnBeginHover
(
const FInputDeviceRay& DevicePos |
EditorGizmos/TransformGizmo.h | ||
virtual void OnEndHover() |
EditorGizmos/TransformGizmo.h | ||
virtual bool OnUpdateHover
(
const FInputDeviceRay& DevicePos |
EditorGizmos/TransformGizmo.h |
Overridden from IClickDragBehaviorTarget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FInputRayHit CanBeginClickDragSequence
(
const FInputDeviceRay& PressPos |
IClickDragBehaviorTarget implementation. | EditorGizmos/TransformGizmo.h | |
virtual void OnClickDrag
(
const FInputDeviceRay& DragPos |
EditorGizmos/TransformGizmo.h | ||
virtual void OnClickPress
(
const FInputDeviceRay& PressPos |
EditorGizmos/TransformGizmo.h | ||
virtual void OnClickRelease
(
const FInputDeviceRay& ReleasePos |
EditorGizmos/TransformGizmo.h | ||
virtual void OnTerminateDragSequence() |
EditorGizmos/TransformGizmo.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ApplyRotateDelta
(
const FQuat& InRotateDelta |
Apply rotate delta to transform proxy | EditorGizmos/TransformGizmo.h | |
virtual void ApplyScaleDelta
(
const FVector& InScaleDelta |
Apply scale delta to transform proxy | EditorGizmos/TransformGizmo.h | |
virtual void ApplyTranslateDelta
(
const FVector& InTranslateDelta |
Apply transform delta methods Apply translate delta to transform proxy | EditorGizmos/TransformGizmo.h | |
virtual void BeginTransformEditSequence() |
Called at the start of a sequence of gizmo transform edits | EditorGizmos/TransformGizmo.h | |
bool CanInteract
(
const EViewportContext InViewportContext |
Returns whether the gizmo can interact. Note that this can be true even if the gizmo is not visible to support indirect manipulation. | EditorGizmos/TransformGizmo.h | |
virtual FQuat ComputeAngularRotateDelta
(
FQuat::FReal InStartAngle, |
Compute rotate delta based on start/end angles | EditorGizmos/TransformGizmo.h | |
virtual FQuat ComputeAxisRotateDelta
(
const double& InDeltaAngle |
Compute rotate delta based on screen-space angle delta (in degrees) | EditorGizmos/TransformGizmo.h | |
virtual double ComputeAxisRotateDeltaAngle
(
const FVector2D& InStartPos, |
Compute angle (degrees) delta based on screen-space start/end positions. | EditorGizmos/TransformGizmo.h | |
virtual FVector ComputeAxisTranslateDelta
(
double InStartParam, |
Compute translate axis delta based on start/end params | EditorGizmos/TransformGizmo.h | |
virtual FQuat ComputeGimbalRotateDelta
(
const FVector2D& InStartPos, |
Compute gimbal rotate delta based on screen-space start/end positions | EditorGizmos/TransformGizmo.h | |
virtual FVector ComputePlanarTranslateDelta
(
const FVector& InStartPoint, |
Compute translate planar delta based on world space start/end points | EditorGizmos/TransformGizmo.h | |
virtual FVector ComputeScaleDelta
(
const FVector2D& InStartPos, |
Compute scale delta based on screen space start/end positions | EditorGizmos/TransformGizmo.h | |
virtual void EnableMode
(
EGizmoTransformMode InGizmoMode, |
Enable the given mode with the specified axes, EAxisList::Type::None will hide objects associated with mode | EditorGizmos/TransformGizmo.h | |
virtual void EnablePlanarObjects
(
bool bTranslate, |
Enable planar handles used by translate and scale | EditorGizmos/TransformGizmo.h | |
virtual void EnableRotate
(
EAxisList::Type InAxisListToDraw |
Enable rotate using specified axis list | EditorGizmos/TransformGizmo.h | |
virtual void EnableScale
(
EAxisList::Type InAxisListToDraw |
Enable scale using specified axis list | EditorGizmos/TransformGizmo.h | |
virtual void EnableTranslate
(
EAxisList::Type InAxisListToDraw |
Enable translate using specified axis list | EditorGizmos/TransformGizmo.h | |
virtual void EndTransformEditSequence() |
Called at the end of a sequence of gizmo transform edits. | EditorGizmos/TransformGizmo.h | |
ETransformGizmoPartIdentifier GetCurrentModeLastHitPart() |
EditorGizmos/TransformGizmo.h | ||
virtual FVector GetGimbalRotationAxis
(
const int32 InAxis |
Get gimbal rotation axis (InAxis is expected to be in [0,2] range) | EditorGizmos/TransformGizmo.h | |
virtual FTransform GetGizmoTransform() |
Get gizmo transform based on cached current transform. | EditorGizmos/TransformGizmo.h | |
virtual uint32 GetMaxPartIdentifier() |
Get max part identifier. | EditorGizmos/TransformGizmo.h | |
virtual float GetNearestRayParamToInteractionAxis
(
const FInputDeviceRay& InRay |
Get nearest param along input ray to the current interaction axis | EditorGizmos/TransformGizmo.h | |
virtual bool GetRayParamIntersectionWithInteractionPlane
(
const FInputDeviceRay& InRay, |
Return true if input ray intersects current interaction plane and return param along ray in OutHitParam | EditorGizmos/TransformGizmo.h | |
const FRotationContext & GetRotationContext() |
Returns the current rotation context. | EditorGizmos/TransformGizmo.h | |
FVector2D GetScreenGimbalRotateAxisDir
(
const FInputDeviceRay& InPressPos |
Get screen-space axis for gimbal rotation drag | EditorGizmos/TransformGizmo.h | |
FVector2D GetScreenRotateAxisDir
(
const FInputDeviceRay& InPressPos |
Get screen-space axis for rotation drag | EditorGizmos/TransformGizmo.h | |
float GetSizeCoefficient() |
EditorGizmos/TransformGizmo.h | ||
virtual FVector GetWorldAxis
(
const FVector& InAxis |
Get current interaction axis | EditorGizmos/TransformGizmo.h | |
float GetWorldRadius
(
const float InRadius |
Get the arc ball sphere world radius | EditorGizmos/TransformGizmo.h | |
FVector2D GetWorldToScreenRotateAxisDir
(
const FInputDeviceRay& InPressPos, |
Get screen-space axis based on a world space axis | EditorGizmos/TransformGizmo.h | |
bool IsVisible
(
const EViewportContext InViewportContext |
Returns whether the gizmo is visible in the viewport. | EditorGizmos/TransformGizmo.h | |
virtual UGizmoElementCircle * MakeArcballCircleHandle
(
ETransformGizmoPartIdentifier InPartId, |
Construct arcball screen space handle | EditorGizmos/TransformGizmo.h | |
UGizmoElementTorus * MakeDefaultRotateAxis
(
const ETransformGizmoPartIdentifier InPartId |
Construct the default rotate axis handle based on the ETransformGizmoPartIdentifier. | EditorGizmos/TransformGizmo.h | |
virtual UGizmoElementBox * MakePlanarHandle
(
ETransformGizmoPartIdentifier InPartId, |
Construct planar axis handle | EditorGizmos/TransformGizmo.h | |
virtual UGizmoElementTorus * MakeRotateAxis
(
ETransformGizmoPartIdentifier InPartId, |
Construct rotate axis handle | EditorGizmos/TransformGizmo.h | |
virtual UGizmoElementCircle * MakeRotateCircleHandle
(
ETransformGizmoPartIdentifier InPartId, |
Construct rotate screen space handle | EditorGizmos/TransformGizmo.h | |
virtual UGizmoElementArrow * MakeScaleAxis
(
ETransformGizmoPartIdentifier InPartId, |
Construct scale axis handle | EditorGizmos/TransformGizmo.h | |
virtual UGizmoElementArrow * MakeTranslateAxis
(
ETransformGizmoPartIdentifier InPartId, |
Construct translate axis handle | EditorGizmos/TransformGizmo.h | |
virtual UGizmoElementRectangle * MakeTranslateScreenSpaceHandle() |
Construct translate screen space handle | EditorGizmos/TransformGizmo.h | |
virtual UGizmoElementBox * MakeUniformScaleHandle() |
Construct uniform scale handle | EditorGizmos/TransformGizmo.h | |
virtual void OnClickDragArcBallRotate
(
const FInputDeviceRay& DragPos |
Handle click drag for arc ball rotate | EditorGizmos/TransformGizmo.h | |
virtual void OnClickDragGimbalRotateAxis
(
const FInputDeviceRay& InDragPos |
Handle click drag for gimbal rotate axis | EditorGizmos/TransformGizmo.h | |
virtual void OnClickDragRotateAxis
(
const FInputDeviceRay& InDragPos |
Handle click drag for rotate axis | EditorGizmos/TransformGizmo.h | |
virtual void OnClickDragScale
(
const FInputDeviceRay& DragPos |
Handle click drag for all scale | EditorGizmos/TransformGizmo.h | |
virtual void OnClickDragScaleAxis
(
const FInputDeviceRay& DragPos |
Handle click drag for scale axes | EditorGizmos/TransformGizmo.h | |
virtual void OnClickDragScalePlanar
(
const FInputDeviceRay& DragPos |
Handle click drag for scale planar | EditorGizmos/TransformGizmo.h | |
virtual void OnClickDragScaleXYZ
(
const FInputDeviceRay& DragPos |
Handle click drag for uniform scale | EditorGizmos/TransformGizmo.h | |
virtual void OnClickDragScreenSpaceRotate
(
const FInputDeviceRay& InDragPos |
Handle click drag for screen-space rotate | EditorGizmos/TransformGizmo.h | |
virtual void OnClickDragScreenSpaceTranslate
(
const FInputDeviceRay& DragPos |
Handle click drag for screen-space translate | EditorGizmos/TransformGizmo.h | |
virtual void OnClickDragTranslateAxis
(
const FInputDeviceRay& DragPos |
Handle click drag for translate axes | EditorGizmos/TransformGizmo.h | |
virtual void OnClickDragTranslatePlanar
(
const FInputDeviceRay& DragPos |
Handle click drag for translate planar | EditorGizmos/TransformGizmo.h | |
virtual void OnClickPressArcBallRotate
(
const FInputDeviceRay& PressPos |
Arc ball rotate interaction methods Handle click press for arc ball rotate | EditorGizmos/TransformGizmo.h | |
virtual void OnClickPressAxis
(
const FInputDeviceRay& PressPos |
Handle click press for translate axes | EditorGizmos/TransformGizmo.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/TransformGizmo.h | |
virtual void OnClickPressPlanar
(
const FInputDeviceRay& PressPos |
Handle click press for generic planar | EditorGizmos/TransformGizmo.h | |
bool OnClickPressRotateArc
(
const FInputDeviceRay& InPressPos, |
Prepares data for arc rotation. | EditorGizmos/TransformGizmo.h | |
virtual void OnClickPressRotateAxis
(
const FInputDeviceRay& InPressPos |
Handle click press for any rotate axis | EditorGizmos/TransformGizmo.h | |
virtual void OnClickPressRotateXAxis
(
const FInputDeviceRay& InPressPos |
Rotate interaction methods Handle click press for rotate X axis | EditorGizmos/TransformGizmo.h | |
virtual void OnClickPressRotateYAxis
(
const FInputDeviceRay& InPressPos |
Handle click press for rotate Y axis | EditorGizmos/TransformGizmo.h | |
virtual void OnClickPressRotateZAxis
(
const FInputDeviceRay& InPressPos |
Handle click press for rotate Z axis | EditorGizmos/TransformGizmo.h | |
virtual void OnClickPressScale
(
const FInputDeviceRay& PressPos |
Handle click press for all scale methods | EditorGizmos/TransformGizmo.h | |
virtual void OnClickPressScaleXAxis
(
const FInputDeviceRay& PressPos |
Scale click-drag handling methods Handle click press for scale X axis | EditorGizmos/TransformGizmo.h | |
virtual void OnClickPressScaleXYPlanar
(
const FInputDeviceRay& PressPos |
Handle click press for scale XY planar | EditorGizmos/TransformGizmo.h | |
virtual void OnClickPressScaleXYZ
(
const FInputDeviceRay& PressPos |
Handle click press for uniform scale | EditorGizmos/TransformGizmo.h | |
virtual void OnClickPressScaleXZPlanar
(
const FInputDeviceRay& PressPos |
Handle click press for scale XZ planar | EditorGizmos/TransformGizmo.h | |
virtual void OnClickPressScaleYAxis
(
const FInputDeviceRay& PressPos |
Handle click press for scale Y axis | EditorGizmos/TransformGizmo.h | |
virtual void OnClickPressScaleYZPlanar
(
const FInputDeviceRay& PressPos |
Handle click press for scale YZ planar | EditorGizmos/TransformGizmo.h | |
virtual void OnClickPressScaleZAxis
(
const FInputDeviceRay& PressPos |
Handle click press for scale Z axis | EditorGizmos/TransformGizmo.h | |
virtual void OnClickPressScreenSpaceRotate
(
const FInputDeviceRay& PressPos |
Screen-space rotate interaction methods Handle click press for screen-space rotate | EditorGizmos/TransformGizmo.h | |
virtual void OnClickPressScreenSpaceTranslate
(
const FInputDeviceRay& PressPos |
Screen-space translate interaction methods Handle click press for screen-space translate | EditorGizmos/TransformGizmo.h | |
virtual void OnClickPressTranslatePlanar
(
const FInputDeviceRay& PressPos |
Handle click press for translate planar | EditorGizmos/TransformGizmo.h | |
virtual void OnClickPressTranslateXAxis
(
const FInputDeviceRay& PressPos |
Translate axis click-drag handling methods Handle click press for translate X axis | EditorGizmos/TransformGizmo.h | |
virtual void OnClickPressTranslateXYPlanar
(
const FInputDeviceRay& PressPos |
Translate and scale planar click-drag handling methods Handle click press for translate XY planar | EditorGizmos/TransformGizmo.h | |
virtual void OnClickPressTranslateXZPlanar
(
const FInputDeviceRay& PressPos |
Handle click press for translate XZ planar | EditorGizmos/TransformGizmo.h | |
virtual void OnClickPressTranslateYAxis
(
const FInputDeviceRay& PressPos |
Handle click press for translate Y axis | EditorGizmos/TransformGizmo.h | |
virtual void OnClickPressTranslateYZPlanar
(
const FInputDeviceRay& PressPos |
Handle click press for translate YZ planar | EditorGizmos/TransformGizmo.h | |
virtual void OnClickPressTranslateZAxis
(
const FInputDeviceRay& PressPos |
Handle click press for translate Z axis | EditorGizmos/TransformGizmo.h | |
virtual void OnClickReleaseArcBallRotate
(
const FInputDeviceRay& ReleasePos |
Handle click release for arc ball rotate | EditorGizmos/TransformGizmo.h | |
virtual void OnClickReleaseRotateAxis
(
const FInputDeviceRay& InReleasePos |
Handle click release for rotate axes | EditorGizmos/TransformGizmo.h | |
virtual void OnClickReleaseScaleAxis
(
const FInputDeviceRay& ReleasePos |
Handle click release for scale axes | EditorGizmos/TransformGizmo.h | |
virtual void OnClickReleaseScalePlanar
(
const FInputDeviceRay& ReleasePos |
Handle click release for scale planar | EditorGizmos/TransformGizmo.h | |
virtual void OnClickReleaseScaleXYZ
(
const FInputDeviceRay& ReleasePos |
Handle click release for uniform scale | EditorGizmos/TransformGizmo.h | |
virtual void OnClickReleaseScreenSpaceRotate
(
const FInputDeviceRay& ReleasePos |
Handle click release for screen-space rotate | EditorGizmos/TransformGizmo.h | |
virtual void OnClickReleaseScreenSpaceTranslate
(
const FInputDeviceRay& ReleasePos |
Handle click release for screen-space translate | EditorGizmos/TransformGizmo.h | |
virtual void OnClickReleaseTranslateAxis
(
const FInputDeviceRay& ReleasePos |
Handle click release for translate axes | EditorGizmos/TransformGizmo.h | |
virtual void OnClickReleaseTranslatePlanar
(
const FInputDeviceRay& ReleasePos |
Handle click release for translate planar | EditorGizmos/TransformGizmo.h | |
bool PositionSnapFunction
(
const FVector& WorldPosition, |
Axis and Plane TransformSources use this function to execute worldgrid snap queries. | EditorGizmos/TransformGizmo.h | |
void RenderDebug
(
IToolsContextRenderAPI* RenderAPI |
Renders various debug visualizations, if enabled. | EditorGizmos/TransformGizmo.h | |
virtual void ResetHoverStates
(
const EGizmoTransformMode InMode |
Reset all hover states related to the transform mode to false | EditorGizmos/TransformGizmo.h | |
virtual void ResetInteractingStates
(
const EGizmoTransformMode InMode |
Reset all interacting states related to the transform mode to false | EditorGizmos/TransformGizmo.h | |
FQuat RotationSnapFunction
(
const FQuat& DeltaRotation |
EditorGizmos/TransformGizmo.h | ||
void SetModeLastHitPart
(
const EGizmoTransformMode InMode, |
EditorGizmos/TransformGizmo.h | ||
virtual void SetupBehaviors() |
Setup behaviors | EditorGizmos/TransformGizmo.h | |
virtual void SetupIndirectBehaviors() |
Setup indirect behaviors | EditorGizmos/TransformGizmo.h | |
virtual void SetupMaterials() |
Setup materials | EditorGizmos/TransformGizmo.h | |
virtual void SetupOnClickFunctions() |
Setup on click functions | EditorGizmos/TransformGizmo.h | |
void SnapRotateAngleDelta
(
double& InOutAngleDelta |
EditorGizmos/TransformGizmo.h | ||
void SnapRotateDelta
(
FQuat& InOutWorldDelta |
EditorGizmos/TransformGizmo.h | ||
void SnapScaleDelta
(
FVector& InOutLocalScaleDelta |
EditorGizmos/TransformGizmo.h | ||
void SnapTranslateDelta
(
FVector& InOutWorldDelta |
EditorGizmos/TransformGizmo.h | ||
virtual void UpdateAllScaleAxis() |
Updates all scale axis handles with the current parameters (ie. size coefficient) | EditorGizmos/TransformGizmo.h | |
void UpdateCameraAxisSource() |
Internal function that updates CameraAxisSource by getting current view state from GizmoManager | EditorGizmos/TransformGizmo.h | |
virtual void UpdateElements() |
Updates all gizmo elements based on current parameters | EditorGizmos/TransformGizmo.h | |
virtual FInputRayHit UpdateHoveredPart
(
const FInputDeviceRay& DevicePos |
Determine hit part and update hover state based on current input ray | EditorGizmos/TransformGizmo.h | |
virtual void UpdateHoverState
(
const bool bInHover, |
Update hover state for given part id | EditorGizmos/TransformGizmo.h | |
virtual void UpdateInteractingState
(
const bool bInInteracting, |
Update interacting state for given part id | EditorGizmos/TransformGizmo.h | |
virtual void UpdateMode() |
Update current gizmo mode based on transform source | EditorGizmos/TransformGizmo.h | |
virtual void UpdatePlanarHandle
(
UGizmoElementBox* InElement, |
Updates the given uniform scale handle with the current parameters (ie. size coefficient) | EditorGizmos/TransformGizmo.h | |
virtual void UpdateRotateAxis
(
UGizmoElementTorus* InElement |
Updates the given rotate axis handle with the current parameters (ie. size coefficient) | EditorGizmos/TransformGizmo.h | |
virtual void UpdateRotateCircleHandle
(
UGizmoElementCircle* InElement, |
Updates the given rotate screen space handle with the current parameters (ie. size coefficient) | EditorGizmos/TransformGizmo.h | |
virtual void UpdateRotationMode() |
Update current gizmo rotation mode (default or gimbal) | EditorGizmos/TransformGizmo.h | |
virtual void UpdateScaleAxis
(
UGizmoElementArrow* InElement, |
Updates the given scale axis handle with the current parameters (ie. size coefficient). | EditorGizmos/TransformGizmo.h | |
virtual void UpdateScaleAxis
(
UGizmoElementArrow* InElement, |
Updates the given scale axis handle with the current parameters (ie. size coefficient). | EditorGizmos/TransformGizmo.h | |
virtual void UpdateScaleAxis
(
UGizmoElementArrow* InElement |
Updates the given scale axis handle with the current parameters (ie. size coefficient). | EditorGizmos/TransformGizmo.h | |
virtual void UpdateTranslateAxis
(
UGizmoElementArrow* InElement |
Updates the given translate axis handle with the current parameters (ie. size coefficient) | EditorGizmos/TransformGizmo.h | |
virtual void UpdateTranslateAxis
(
UGizmoElementArrow* InElement, |
Updates the given translate axis handle with the current parameters (ie. size coefficient) | EditorGizmos/TransformGizmo.h | |
virtual void UpdateTranslateAxis
(
UGizmoElementArrow* InElement, |
Updates the given translate axis handle with the current parameters (ie. size coefficient) | EditorGizmos/TransformGizmo.h | |
virtual void UpdateTranslateScreenSpaceHandle
(
UGizmoElementRectangle* InElement |
Updates the given translate screen space handle with the current parameters (ie. size coefficient) | EditorGizmos/TransformGizmo.h | |
virtual void UpdateUniformScaleHandle
(
UGizmoElementBox* InElement |
Updates the given uniform scale handle with the current parameters (ie. size coefficient) | EditorGizmos/TransformGizmo.h | |
virtual bool VerifyPartIdentifier
(
uint32 InPartIdentifier |
Verify part identifier is within recognized range of transform gizmo part ids. | EditorGizmos/TransformGizmo.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FVector2D GetScreenProjectedAxis
(
const UGizmoViewContext* View, |
Screen-space helper method Returns 2D vector projection of input axis onto input view plane | EditorGizmos/TransformGizmo.h |