Navigation
API > API/Plugins > API/Plugins/SequencerAnimTools
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UInteractiveTool
- UMultiSelectionTool
- USequencerPivotTool
References
| Module | SequencerAnimTools |
| Header | /Engine/Plugins/Editor/SequencerAnimTools/Source/SequencerAnimTools/Public/SequencerAnimEditPivotTool.h |
| Include | #include "SequencerAnimEditPivotTool.h" |
Syntax
UCLASS&40;&41;
class USequencerPivotTool :
public UMultiSelectionTool,
public IClickBehaviorTarget,
public IBaseSequencerAnimTool
Remarks
Pivot tool class
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FActorSelectonDuringDrag > | ActorDrags | ||
| TArray< TWeakObjectPtr< AActor > > | Actors | ||
| bool | bCtrlPressedWhenStarted | ||
| bool | bGizmoBeingDragged | ||
| bool | bInPivotMode | ||
| bool | bManipulatorMadeChange | ||
| bool | bPickingPivotLocation | ||
| bool | bShiftPressedWhenStarted | ||
| TObjectPtr< USingleClickInputBehavior > | ClickBehavior | ||
| TArray< FControlRigSelectionDuringDrag > | ControlRigDrags | ||
| TArray< TWeakObjectPtr< UControlRig > > | ControlRigs | ||
| UInteractiveGizmoManager * | GizmoManager | ||
| FTransform | GizmoTransform | ||
| TArray< TSharedPtr< FControlRigInteractionScope > > | InteractionScopes | ||
| ULevelSequence * | LevelSequence | Since we are selection based we can cache this | |
| FDelegateHandle | OnEditorSelectionChangedHandle | ||
| TSharedPtr< SWidget > | PivotWidget | ||
| TWeakPtr< ISequencer > | SequencerPtr | ||
| FTransform | StartDragTransform | ||
| UWorld * | TargetWorld | ||
| int32 | TransactionIndex | ||
| TObjectPtr< UCombinedTransformGizmo > | TransformGizmo | ||
| TObjectPtr< UTransformProxy > | TransformProxy |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Functions and variables for handling the overlay for switching between free and pivot mode. | ||
| void | DeactivateMe () |
Selection delegates | |
| FInputRayHit | FindRayHit
(
const FRay& WorldRay, |
||
| FMargin | |||
| void | GizmoTransformChanged
(
UTransformProxy* Proxy, |
Callbacks we'll receive from the gizmo proxy. | |
| void | GizmoTransformEnded
(
UTransformProxy* Proxy |
||
| void | GizmoTransformStarted
(
UTransformProxy* Proxy |
||
| void | HandleControlSelected
(
UControlRig* Subject, |
||
| bool | If In Pivot Mode, if not then in Free Mode. | ||
| void | OnEditorSelectionChanged
(
UObject* NewSelection |
||
| void | |||
| void | |||
| void | |||
| void | Handle Selection and Pivot Location. | ||
| bool | SetGizmoBasedOnSelection
(
bool bUseSaved |
||
| void | SetPivotMode
(
bool bVal |
Set Pivot Mode. | |
| void | SetWorld
(
UWorld* World, |
||
| void | Toggle Pivot Mode. | ||
| void | |||
| void | |||
| void | |||
| void | |||
| void | UpdatePivotOverlayLocation
(
const FVector2D InLocation, |
||
| void |
Overridden from UInteractiveTool
| Type | Name | Description | |
|---|---|---|---|
| bool | CanAccept () |
||
| bool | HasAccept () |
||
| bool | HasCancel () |
||
| void | OnPropertyModified
(
UObject* PropertySet, |
Automatically called by UInteractiveToolPropertySet.OnModified delegate to notify Tool of child property set changes | |
| void | OnTick
(
float DeltaTime |
Allow the Tool to do any necessary processing on Tick | |
| void | Render
(
IToolsContextRenderAPI* RenderAPI |
Allow the Tool to do any custom drawing (ie via PDI/RHI) | |
| void | Setup () |
Called by ToolManager to initialize the Tool after ToolBuilder::BuildTool() has been called | |
| void | Shutdown
(
EToolShutdownType ShutdownType |
Called by ToolManager to shut down the Tool |
Overridden from IClickBehaviorTarget
| Type | Name | Description | |
|---|---|---|---|
| FInputRayHit | IsHitByClick
(
const FInputDeviceRay& ClickPos |
Test if target is hit by a click | |
| void | OnClicked
(
const FInputDeviceRay& ClickPos |
Notify Target that click ocurred |
Overridden from IBaseSequencerAnimTool
| Type | Name | Description | |
|---|---|---|---|
| bool | ProcessCommandBindings
(
const FKey Key, |
IBaseSequencerAnimTool. |
Constants
| Name | Description |
|---|---|
| LastPivotOverlayLocation | |
| LastSelectedObjects | |
| SavedPivotLocations |