Navigation
API > API/Editor > API/Editor/AnimGraph
Base implementation for anim node edit modes
| Name | FAnimNodeEditMode |
| Type | class |
| Header File | /Engine/Source/Editor/AnimGraph/Public/AnimNodeEditMode.h |
| Include Path | #include "AnimNodeEditMode.h" |
Syntax
class FAnimNodeEditMode : public IAnimNodeEditMode
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAnimNodeEditMode() |
AnimNodeEditMode.h |
Structs
| Name | Remarks |
|---|---|
| EditorRuntimeNodePair |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bInTransaction | bool | AnimNodeEditMode.h | ||
| bManipulating | bool | AnimNodeEditMode.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool BeginTransform
(
const FGizmoState& InState |
AnimNodeEditMode.h | ||
virtual void DrawHUD
(
FEditorViewportClient* ViewportClient, |
AnimNodeEditMode.h | ||
virtual bool EndTracking
(
FEditorViewportClient* InViewportClient, |
AnimNodeEditMode.h | ||
virtual bool EndTransform
(
const FGizmoState& InState |
AnimNodeEditMode.h | ||
virtual void Exit() |
AnimNodeEditMode.h | ||
virtual IPersonaPreviewScene & GetAnimPreviewScene() |
AnimNodeEditMode.h | ||
virtual bool GetCameraTarget
(
FSphere& OutTarget |
IPersonaEditMode interface | AnimNodeEditMode.h | |
virtual bool GetCustomDrawingCoordinateSystem
(
FMatrix& InMatrix, |
AnimNodeEditMode.h | ||
virtual bool GetCustomInputCoordinateSystem
(
FMatrix& InMatrix, |
AnimNodeEditMode.h | ||
| AnimNodeEditMode.h | |||
virtual FVector GetWidgetLocation() |
AnimNodeEditMode.h | ||
virtual bool HandleClick
(
FEditorViewportClient* InViewportClient, |
AnimNodeEditMode.h | ||
virtual bool InputDelta
(
FEditorViewportClient* InViewportClient, |
AnimNodeEditMode.h | ||
virtual bool InputKey
(
FEditorViewportClient* InViewportClient, |
AnimNodeEditMode.h | ||
virtual void Render
(
const FSceneView* View, |
FEdMode interface | AnimNodeEditMode.h | |
virtual bool ShouldDrawWidget() |
AnimNodeEditMode.h | ||
virtual bool StartTracking
(
FEditorViewportClient* InViewportClient, |
AnimNodeEditMode.h | ||
virtual void Tick
(
FEditorViewportClient* ViewportClient, |
AnimNodeEditMode.h |
Overridden from IAnimNodeEditMode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UE::Widget::EWidgetMode ChangeToNextWidgetMode
(
UE::Widget::EWidgetMode CurWidgetMode |
Called when the user changed widget mode by pressing "Space" key | AnimNodeEditMode.h | |
virtual void DoRotation
(
FRotator& InRotation |
Called when the widget is dragged in rotation mode | AnimNodeEditMode.h | |
virtual void DoScale
(
FVector& InScale |
Called when the widget is dragged in scale mode | AnimNodeEditMode.h | |
virtual void DoTranslation
(
FVector& InTranslation |
Called when the widget is dragged in translation mode | AnimNodeEditMode.h | |
virtual void EnterMode
(
UAnimGraphNode_Base* InEditorNode, |
Called when entering this edit mode | AnimNodeEditMode.h | |
virtual void ExitMode() |
Called when exiting this edit mode | AnimNodeEditMode.h | |
virtual FName GetSelectedBone() |
Get the bone that the skeletal control is manipulating | AnimNodeEditMode.h | |
virtual ECoordSystem GetWidgetCoordinateSystem() |
IAnimNodeEditMode interface | AnimNodeEditMode.h | |
virtual UE::Widget::EWidgetMode GetWidgetMode() |
AnimNodeEditMode.h | ||
virtual void RegisterPoseWatchedNode
(
UAnimGraphNode_Base* InEditorNode, |
Called when a Pose Watch is created on a node edited by this edit mode | AnimNodeEditMode.h | |
virtual bool SetWidgetMode
(
UE::Widget::EWidgetMode InWidgetMode |
Called when the user set widget mode directly, returns true if InWidgetMode is available | AnimNodeEditMode.h | |
virtual bool SupportsPoseWatch() |
Called to determine whether this edit mode should be drawn when nodes edited by this edit mode are pose watched | AnimNodeEditMode.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UAnimGraphNode_Base * GetActiveWidgetAnimNode() |
AnimNodeEditMode.h | ||
virtual FAnimNode_Base * GetActiveWidgetRuntimeAnimNode() |
AnimNodeEditMode.h | ||
bool HandleBeginTransform() |
Manage the start and end of a transform action in the viewport. | AnimNodeEditMode.h | |
bool HandleEndTransform() |
AnimNodeEditMode.h | ||
const bool IsManipulatingWidget() |
AnimNodeEditMode.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FQuat ConvertCSRotationToBoneSpace
(
const USkeletalMeshComponent* SkelComp, |
Convert rotator in component space to bone space | AnimNodeEditMode.h | |
static FVector ConvertCSVectorToBoneSpace
(
const USkeletalMeshComponent* SkelComp, |
AnimNodeEditMode.h | ||
static FVector ConvertCSVectorToBoneSpace
(
const USkeletalMeshComponent* SkelComp, |
Convert drag vector in component space to bone space | AnimNodeEditMode.h | |
static void ConvertToBoneSpaceTransform
(
const USkeletalMeshComponent* SkelComp, |
AnimNodeEditMode.h | ||
static void ConvertToComponentSpaceTransform
(
const USkeletalMeshComponent* SkelComp, |
Local conversion functions for drawing | AnimNodeEditMode.h | |
static FVector ConvertWidgetLocation
(
const USkeletalMeshComponent* InSkelComp, |
Convert widget location according to bone control space | AnimNodeEditMode.h | |
static FVector ConvertWidgetLocation
(
const USkeletalMeshComponent* InSkelComp, |
AnimNodeEditMode.h |