Navigation
API > API/Runtime > API/Runtime/AnimGraphRuntime
Constraint node to parent or world transform for rotation/translation
| Name | FAnimNode_Constraint |
| Type | struct |
| Header File | /Engine/Source/Runtime/AnimGraphRuntime/Public/BoneControllers/AnimNode_Constraint.h |
| Include Path | #include "BoneControllers/AnimNode_Constraint.h" |
Syntax
USTRUCT ()
struct FAnimNode_Constraint : public FAnimNode_SkeletalControlBase
Inheritance Hierarchy
- FAnimNode_Base → FAnimNode_SkeletalControlBase → FAnimNode_Constraint
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAnimNode_Constraint() |
BoneControllers/AnimNode_Constraint.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BoneToModify | FBoneReference | Name of bone to control. This is the main bone chain to modify from. | BoneControllers/AnimNode_Constraint.h |
|
| ConstraintSetup | TArray< FConstraint > | List of constraints | BoneControllers/AnimNode_Constraint.h |
|
| ConstraintWeights | TArray< float > | Weight data - post edit syncs up to ConstraintSetups | BoneControllers/AnimNode_Constraint.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CachedConstrainedTransform | FTransform | BoneControllers/AnimNode_Constraint.h | ||
| CachedOriginalTransform | FTransform | Debug draw cached data | BoneControllers/AnimNode_Constraint.h | |
| CachedTargetTransforms | TArray< FTransform > | BoneControllers/AnimNode_Constraint.h | ||
| ConstraintData | TArray< FConstraintData > | BoneControllers/AnimNode_Constraint.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ConditionalDebugDraw
(
FPrimitiveDrawInterface* PDI, |
BoneControllers/AnimNode_Constraint.h |
Overridden from FAnimNode_SkeletalControlBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void EvaluateSkeletalControl_AnyThread
(
FComponentSpacePoseContext& Output, |
Evaluate the new component-space transforms for the affected bones. | BoneControllers/AnimNode_Constraint.h | |
virtual bool IsValidToEvaluate
(
const USkeleton* Skeleton, |
Return true if it is valid to Evaluate | BoneControllers/AnimNode_Constraint.h |
Overridden from FAnimNode_Base
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GatherDebugData
(
FNodeDebugData& DebugData |
BoneControllers/AnimNode_Constraint.h |