Navigation
API > API/Editor > API/Editor/AnimGraph
Inheritance Hierarchy
- FEdMode
- IAnimationEditContext
- FAnimationEditMode
- IAnimNodeEditMode
- FAnimNodeEditMode
References
| Module | AnimGraph |
| Header | /Engine/Source/Editor/AnimGraph/Public/AnimNodeEditMode.h |
| Include | #include "AnimNodeEditMode.h" |
Syntax
class FAnimNodeEditMode : public IAnimNodeEditMode
Remarks
Base implementation for anim node edit modes
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< EditorRuntimeNodePair > | PoseWatchedAnimNodes | ||
| TArray< EditorRuntimeNodePair > | SelectedAnimNodes |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FQuat | ConvertCSRotationToBoneSpace
(
const USkeletalMeshComponent* SkelComp, |
Convert rotator in component space to bone space | |
| FVector | ConvertCSVectorToBoneSpace
(
const USkeletalMeshComponent* SkelComp, |
Convert drag vector in component space to bone space | |
| FVector | ConvertCSVectorToBoneSpace
(
const USkeletalMeshComponent* SkelComp, |
Convert drag vector in component space to bone space | |
| void | ConvertToBoneSpaceTransform
(
const USkeletalMeshComponent* SkelComp, |
||
| void | ConvertToComponentSpaceTransform
(
const USkeletalMeshComponent* SkelComp, |
Local conversion functions for drawing | |
| FVector | ConvertWidgetLocation
(
const USkeletalMeshComponent* InSkelComp, |
Convert widget location according to bone control space | |
| FVector | ConvertWidgetLocation
(
const USkeletalMeshComponent* InSkelComp, |
Convert widget location according to bone control space | |
| UAnimGraphNode_Base * | |||
| FAnimNode_Base * | |||
| const bool |
Overridden from IAnimNodeEditMode
| Type | Name | Description | |
|---|---|---|---|
| UE::Widget::EWidgetMode | ChangeToNextWidgetMode
(
UE::Widget::EWidgetMode CurWidgetMode |
Called when the user changed widget mode by pressing "Space" key | |
| void | DoRotation
(
FRotator& InRotation |
Called when the widget is dragged in rotation mode | |
| void | DoScale
(
FVector& InScale |
Called when the widget is dragged in scale mode | |
| void | DoTranslation
(
FVector& InTranslation |
Called when the widget is dragged in translation mode | |
| void | EnterMode
(
UAnimGraphNode_Base* InEditorNode, |
Called when entering this edit mode | |
| void | ExitMode () |
Called when exiting this edit mode | |
| FName | Get the bone that the skeletal control is manipulating | ||
| ECoordSystem | IAnimNodeEditMode interface | ||
| UE::Widget::EWidgetMode | |||
| void | RegisterPoseWatchedNode
(
UAnimGraphNode_Base* InEditorNode, |
Called when a Pose Watch is created on a node edited by this edit mode | |
| bool | SetWidgetMode
(
UE::Widget::EWidgetMode InWidgetMode |
Called when the user set widget mode directly, returns true if InWidgetMode is available | |
| bool | Called to determine whether this edit mode should be drawn when nodes edited by this edit mode are pose watched |
Overridden from FEdMode
| Type | Name | Description | |
|---|---|---|---|
| bool | EndTracking
(
FEditorViewportClient* InViewportClient, |
||
| void | Exit () |
||
| bool | InputKey
(
FEditorViewportClient* InViewportClient, |
||
| bool | StartTracking
(
FEditorViewportClient* InViewportClient, |
||
| void | Tick
(
FEditorViewportClient* ViewportClient, |
Overridden from FLegacyEdModeWidgetHelper
| Type | Name | Description | |
|---|---|---|---|
| void | DrawHUD
(
FEditorViewportClient* ViewportClient, |
Overlays the editor hud (brushes, drag tools, static mesh vertices, etc*. | |
| bool | GetCustomDrawingCoordinateSystem
(
FMatrix& InMatrix, |
||
| bool | GetCustomInputCoordinateSystem
(
FMatrix& InMatrix, |
||
| FVector | |||
| bool | HandleClick
(
FEditorViewportClient* InViewportClient, |
||
| bool | InputDelta
(
FEditorViewportClient* InViewportClient, |
||
| void | Render
(
const FSceneView* View, |
FEdMode interface | |
| bool |
Overridden from IAnimationEditContext
| Type | Name | Description | |
|---|---|---|---|
| IPersonaPreviewScene & | |||
| bool | GetCameraTarget
(
FSphere& OutTarget |
IPersonaEditMode interface | |
| void | GetOnScreenDebugInfo
(
TArray< FText >& OutDebugInfo |
Function to collect strings from nodes to display in the viewport. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| EditorRuntimeNodePair |