Navigation
API > API/Editor > API/Editor/AnimGraph
Inheritance Hierarchy
- UK2Node
- UAnimGraphNode_Base
- UAnimGraphNode_AssetPlayerBase
- UAnimGraphNode_PoseHandler
- UAnimGraphNode_PoseDriver
References
| Module | AnimGraph |
| Header | /Engine/Source/Editor/AnimGraph/Public/AnimGraphNode_PoseDriver.h |
| Include | #include "AnimGraphNode_PoseDriver.h" |
Syntax
UCLASS (BlueprintType)
class UAnimGraphNode_PoseDriver : public UAnimGraphNode_PoseHandler
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | AxisLength | Length of axis in world units used for debug drawing | |
| bool | bDrawDebugCones | If checked the cones will be drawn in 3d for debugging | |
| FNodeTitleTextTable | CachedNodeTitles | Constructing FText strings can be costly, so we cache the node's title | |
| int32 | ConeSubdivision | Number of subdivisions / lines used when debug drawing a cone | |
| TObjectPtr< USkeletalMeshComponent > | LastPreviewComponent | Used to refer back to preview instance in anim tools | |
| FAnimNode_PoseDriver | Node | ||
| FSimpleMulticastDelegate | SelectedTargetChangeDelegate | Delegate to call when selection changes | |
| int32 | SelectedTargetIndex | Used to indicate selected target to edit mode drawing |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UAnimGraphNode_PoseDriver
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddNewTarget () |
Adds a new target, reallocating transforms array appropriately | |
| void | AutoSetTargetScales
(
float& OutMaxDistance |
Automatically modify TargetScale for each PoseTarget, based on distance to nearest neighbor | |
| void | Util to replace current contents of PoseTargets with info from assigned PoseAsset | ||
| FLinearColor | GetColorFromWeight
(
float InWeight |
Return the color for a given weight. Used for Details and EditMode | |
| void | GetDrivingBoneNames
(
TArray< FName >& BoneNames |
Returns the pose-driver its driven bones by name | |
| FLinearColor | |||
| FText | GetNodeTitle
(
ENodeTitleType::Type TitleType |
||
| EPoseDriverOutput & | |||
| EPoseDriverSource & | |||
| FAnimNode_PoseDriver * | Get the current preview node instance | ||
| FRBFParams & | |||
| void | GetSourceBoneNames
(
TArray< FName >& BoneNames |
Returns the pose-driver its source bones by name | |
| void | PostLoad () |
||
| void | Reallocates transforms arrays as necessary to accommodate source bones | ||
| void | SetDrivingBones
(
const TArray< FName >& BoneNames |
Set the pose-driver its driven bones by name | |
| void | SetPoseDriverOutput
(
EPoseDriverOutput DriverOutput |
||
| void | SetPoseDriverSource
(
EPoseDriverSource DriverSource |
||
| void | SetRBFParameters
(
FRBFParams Parameters |
||
| void | SetSourceBones
(
const TArray< FName >& BoneNames |
Sets the pose-driver its source bones by name |
Overridden from UAnimGraphNode_PoseHandler
| Type | Name | Description | |
|---|---|---|---|
| FAnimNode_PoseHandler * | |||
| const FAnimNode_PoseHandler * | |||
| bool |
Overridden from UAnimGraphNode_AssetPlayerBase
| Type | Name | Description | |
|---|---|---|---|
| FText |
Overridden from UAnimGraphNode_Base
| Type | Name | Description | |
|---|---|---|---|
| void | CopyNodeDataToPreviewNode
(
FAnimNode_Base* InPreviewNode |
Called to propagate data from the internal node to the preview in Persona. | |
| FEditorModeID | Override this function to push an editor mode when this node is selected | ||
| FText | |||
| void | Serialize
(
FArchive& Ar |
UObject interface | |
| EAnimAssetHandlerType | SupportsAssetClass
(
const UClass* AssetClass |
Returns whether this node supports the supplied asset class | |
| void | ValidateAnimNodeDuringCompilation
(
USkeleton* ForSkeleton, |
Gives each visual node a chance to do final validation before it's node is harvested for use at runtime. |