void |
ApplyRotateDelta ( const FQuat& InRotateDelta ) |
Apply rotate delta to transform proxy |
void |
ApplyScaleDelta ( const FVector& InScaleDelta ) |
Apply scale delta to transform proxy |
void |
ApplyTranslateDelta ( const FVector& InTranslateDelta ) |
Apply transform delta methodsApply translate delta to transform proxy |
void |
ClearActiveTarget () |
Clear the active target object for the Gizmo |
FQuat |
ComputeAngularRotateDelta ( double InStartAngle, double InEndAngle ) |
Compute rotate delta based on start/end angles |
FQuat |
ComputeAxisRotateDelta ( const FVector2D& InStartPos, const FVector2D& InEndPos ) |
Compute rotate delta based on screen-space start/end positions |
FVector |
ComputeAxisTranslateDelta ( double InStartParam, double InEndParam ) |
Compute translate axis delta based on start/end params |
FVector |
ComputePlanarTranslateDelta ( const FVector& InStartPoint, const FVector& InEndPoint ) |
Compute translate planar delta based on world space start/end points |
FVector |
ComputeScaleDelta ( const FVector2D& InStartPos, const FVector2D& InEndPos, FVector2D& OutScreenDelta ) |
Compute scale delta based on screen space start/end positions |
void |
EnableMode ( EGizmoTransformMode InGizmoMode, EAxisList::Type InAxisListToDraw ) |
Enable the given mode with the specified axes, EAxisList::Type::None will hide objects associated with mode |
void |
EnablePlanarObjects ( bool bTranslate, bool bEnableX, bool bEnableY, bool bEnableZ ) |
Enable planar handles used by translate and scale |
void |
EnableRotate ( EAxisList::Type InAxisListToDraw ) |
Enable rotate using specified axis list |
void |
EnableScale ( EAxisList::Type InAxisListToDraw ) |
Enable scale using specified axis list |
void |
EnableTranslate ( EAxisList::Type InAxisListToDraw ) |
Enable translate using specified axis list |
FTransform |
GetGizmoTransform () |
Get gizmo transform based on cached current transform. |
uint32 |
GetMaxPartIdentifier () |
Get max part identifier. |
float |
GetNearestRayParamToInteractionAxis ( const FInputDeviceRay& InRay ) |
Get nearest param along input ray to the current interaction axis |
bool |
GetRayParamIntersectionWithInteractionPlane ( const FInputDeviceRay& InRay, float& OutHitParam ) |
Return true if input ray intersects current interaction plane and return param along ray in OutHitParam |
FVector2D |
GetScreenProjectedAxis ( const UGizmoViewContext* View, const FVector& InLocalAxis, const FTransform& InLocalToWorld ) |
Screen-space helper methodReturns 2D vector projection of input axis onto input view plane |
FVector2D |
GetScreenRotateAxisDir ( const FVector& InAxis0, const FVector& InAxis1 ) |
Get screen-space axis for rotation drag |
FVector |
GetWorldAxis ( const FVector& InAxis ) |
Get current interaction axis |
UGizmoElemen... |
MakePlanarHandle ( ETransformGizmoPartIdentifier InPar..., const FVector& InUpDirection, const FVector& InSideDirection, const FVector& InPlaneNormal, UMaterialInterface* InMaterial, const FLinearColor& InVertexColor ) |
Construct planar axis handle |
UGizmoElemen... |
MakeRotateAxis ( ETransformGizmoPartIdentifier InPar..., const FVector& TorusAxis0, const FVector& TorusAxis1, UMaterialInterface* InMaterial, UMaterialInterface* InCurrentM... ) |
Construct rotate axis handle |
UGizmoElemen... |
MakeRotateCircleHandle ( ETransformGizmoPartIdentifier InPar..., float InRadius, const FLinearColor& InColor, float bFill ) |
Construct rotate screen space handle |
UGizmoElemen... |
MakeScaleAxis ( ETransformGizmoPartIdentifier InPar..., const FVector& InAxisDir, const FVector& InSideDir, UMaterialInterface* InMaterial ) |
Construct scale axis handle |
UGizmoElemen... |
MakeTranslateAxis ( ETransformGizmoPartIdentifier InPar..., const FVector& InAxisDir, const FVector& InSideDir, UMaterialInterface* InMaterial ) |
Construct translate axis handle |
UGizmoElemen... |
MakeTranslateScreenSpaceHandle () |
Construct translate screen space handle |
UGizmoElemen... |
MakeUniformScaleHandle () |
Construct uniform scale handle |
void |
OnClickDragRotateAxis ( const FInputDeviceRay& DragPos ) |
Handle click drag for rotate axis |
void |
OnClickDragScale ( const FInputDeviceRay& DragPos ) |
Handle click drag for all scale |
void |
OnClickDragScaleAxis ( const FInputDeviceRay& DragPos ) |
Handle click drag for scale axes |
void |
OnClickDragScalePlanar ( const FInputDeviceRay& DragPos ) |
Handle click drag for scale planar |
void |
OnClickDragScaleXYZ ( const FInputDeviceRay& DragPos ) |
Handle click drag for uniform scale |
void |
OnClickDragScreenSpaceRotate ( const FInputDeviceRay& DragPos ) |
Handle click drag for screen-space rotate |
void |
OnClickDragScreenSpaceTranslate ( const FInputDeviceRay& DragPos ) |
Handle click drag for screen-space translate |
void |
OnClickDragTranslateAxis ( const FInputDeviceRay& DragPos ) |
Handle click drag for translate axes |
void |
OnClickDragTranslatePlanar ( const FInputDeviceRay& DragPos ) |
Handle click drag for translate planar |
void |
OnClickPressAxis ( const FInputDeviceRay& PressPos ) |
Handle click press for translate axes |
void |
OnClickPressPlanar ( const FInputDeviceRay& PressPos ) |
Handle click press for generic planar |
void |
OnClickPressRotateXAxis ( const FInputDeviceRay& PressPos ) |
Rotate interaction methodsHandle click press for rotate X axis |
void |
OnClickPressRotateYAxis ( const FInputDeviceRay& PressPos ) |
Handle click press for rotate Y axis |
void |
OnClickPressRotateZAxis ( const FInputDeviceRay& PressPos ) |
Handle click press for rotate Z axis |
void |
OnClickPressScale ( const FInputDeviceRay& PressPos ) |
Handle click press for all scale methods |
void |
OnClickPressScaleXAxis ( const FInputDeviceRay& PressPos ) |
Scale click-drag handling methodsHandle click press for scale X axis |
void |
OnClickPressScaleXYPlanar ( const FInputDeviceRay& PressPos ) |
Handle click press for scale XY planar |
void |
OnClickPressScaleXYZ ( const FInputDeviceRay& PressPos ) |
Handle click press for uniform scale |
void |
OnClickPressScaleXZPlanar ( const FInputDeviceRay& PressPos ) |
Handle click press for scale XZ planar |
void |
OnClickPressScaleYAxis ( const FInputDeviceRay& PressPos ) |
Handle click press for scale Y axis |
void |
OnClickPressScaleYZPlanar ( const FInputDeviceRay& PressPos ) |
Handle click press for scale YZ planar |
void |
OnClickPressScaleZAxis ( const FInputDeviceRay& PressPos ) |
Handle click press for scale Z axis |
void |
OnClickPressScreenSpaceRotate ( const FInputDeviceRay& PressPos ) |
Screen-space rotate interaction methodsHandle click press for screen-space rotate |
void |
OnClickPressScreenSpaceTranslate ( const FInputDeviceRay& PressPos ) |
Screen-space translate interaction methodsHandle click press for screen-space translate |
void |
OnClickPressTranslateXAxis ( const FInputDeviceRay& PressPos ) |
Translate axis click-drag handling methods Handle click press for translate X axis |
void |
OnClickPressTranslateXYPlanar ( const FInputDeviceRay& PressPos ) |
Translate and scale planar click-drag handling methodsHandle click press for translate XY planar |
void |
OnClickPressTranslateXZPlanar ( const FInputDeviceRay& PressPos ) |
Handle click press for translate XZ planar |
void |
OnClickPressTranslateYAxis ( const FInputDeviceRay& PressPos ) |
Handle click press for translate Y axis |
void |
OnClickPressTranslateYZPlanar ( const FInputDeviceRay& PressPos ) |
Handle click press for translate YZ planar |
void |
OnClickPressTranslateZAxis ( const FInputDeviceRay& PressPos ) |
Handle click press for translate Z axis |
void |
OnClickReleaseRotateAxis ( const FInputDeviceRay& ReleasePos ) |
Handle click release for rotate axes |
void |
OnClickReleaseScaleAxis ( const FInputDeviceRay& ReleasePos ) |
Handle click release for scale axes |
void |
OnClickReleaseScalePlanar ( const FInputDeviceRay& ReleasePos ) |
Handle click release for scale planar |
void |
OnClickReleaseScaleXYZ ( const FInputDeviceRay& ReleasePos ) |
Handle click release for uniform scale |
void |
OnClickReleaseScreenSpaceRotate ( const FInputDeviceRay& ReleasePos ) |
Handle click release for screen-space rotate |
void |
OnClickReleaseScreenSpaceTranslate ( const FInputDeviceRay& ReleasePos ) |
Handle click release for screen-space translate |
void |
OnClickReleaseTranslateAxis ( const FInputDeviceRay& ReleasePos ) |
Handle click release for translate axes |
void |
OnClickReleaseTranslatePlanar ( const FInputDeviceRay& ReleasePos ) |
Handle click release for translate planar |
bool |
PositionSnapFunction ( const FVector& WorldPosition, FVector& SnappedPositionOut ) |
Axis and Plane TransformSources use this function to execute worldgrid snap queries. |
FQuat |
RotationSnapFunction ( const FQuat& DeltaRotation ) |
|
void |
SetActiveTarget ( UTransformProxy* Target, IToolContextTransactionProvider..., IGizmoStateTarget* InStateTarg... ) |
Set the active target object for the Gizmo |
void |
SetCustomizationFunction ( const TFunction< const FGizmoCustom... ) |
Set customization function for this Gizmo |
void |
SetDisallowNegativeScaling ( bool bDisallow ) |
By default, the nonuniform scale components can scale negatively. |
void |
SetNewChildScale ( const FVector& NewChildScale ) |
Explicitly set the child scale. |
void |
SetupBehaviors () |
Setup behaviors |
void |
SetupMaterials () |
Setup materials |
void |
SetupOnClickFunctions () |
Setup on click functions |
void |
SetVisibility ( bool bVisible ) |
Set visibility for this Gizmo |
void |
UpdateCameraAxisSource () |
Internal function that updates CameraAxisSource by getting current view state from GizmoManager |
FInputRayHit |
UpdateHoveredPart ( const FInputDeviceRay& DevicePos ) |
Determine hit part and update hover state based on current input ray |
void |
UpdateHoverState ( bool bInHover, ETransformGizmoPartIdentifier InPar... ) |
Update hover state for given part id |
void |
UpdateInteractingState ( bool bInInteracting, ETransformGizmoPartIdentifier InPar... ) |
Update interacting state for given part id |
void |
UpdateMode () |
Update current gizmo mode based on transform source |
bool |
VerifyPartIdentifier ( uint32 InPartIdentifier ) |
Verify part identifier is within recognized range of transform gizmo part ids. |