Navigation
API > API/Plugins > API/Plugins/AnimationLayering
Highly experimental plugin. There's a strong chance that this gets replaced with Control Rig functionality after initial exploration.
| Name | FAnimNode_CopyBoneMotion |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/Animation/AnimationLayering/Source/AnimationLayering/Public/BoneControllers/AnimNode_CopyBoneMotion.h |
| Include Path | #include "BoneControllers/AnimNode_CopyBoneMotion.h" |
Syntax
USTRUCT (BlueprintInternalUseOnly, Experimental)
struct FAnimNode_CopyBoneMotion : public FAnimNode_SkeletalControlBase
Inheritance Hierarchy
- FAnimNode_Base → FAnimNode_SkeletalControlBase → FAnimNode_CopyBoneMotion
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAnimNode_CopyBoneMotion() |
BoneControllers/AnimNode_CopyBoneMotion.h |
Structs
| Name | Remarks |
|---|---|
| FSpringData |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ApplySpace | FBoneReference | Bone to use as the reference frame/space for our applied transform delta. | BoneControllers/AnimNode_CopyBoneMotion.h |
|
| BasePose | FComponentSpacePoseLink | Input pose to copy the motion from. | BoneControllers/AnimNode_CopyBoneMotion.h |
|
| BasePoseReference | FComponentSpacePoseLink | Reference pose used to calculate a motion delta from the base pose. | BoneControllers/AnimNode_CopyBoneMotion.h |
|
| bDeltaSmoothing | bool | Do the smoothing as a delta between input and output poses, instead of a global component space smoothing. | BoneControllers/AnimNode_CopyBoneMotion.h |
|
| BoneToModify | FBoneReference | Name of bone to control. This is the main bone chain to modify from. | BoneControllers/AnimNode_CopyBoneMotion.h |
|
| bUseBasePose | bool | Whether to use the input Base Pose. Curves will be used when this is disabled. | BoneControllers/AnimNode_CopyBoneMotion.h |
|
| bUseRootSpace | bool | Process CopySpace in root space, ignoring root bone rotation when computing the motion delta (Apply space is not impacted by root rotations) | BoneControllers/AnimNode_CopyBoneMotion.h |
|
| CopySpace | FBoneReference | Bone to use as the reference frame/space for our copied transform delta. | BoneControllers/AnimNode_CopyBoneMotion.h |
|
| CurvePrefix | FName | Curve prefix used for the animation curves. | BoneControllers/AnimNode_CopyBoneMotion.h |
|
| Delay | float | How much to delay the motion we're copying. | BoneControllers/AnimNode_CopyBoneMotion.h |
|
| PoseHistoryTag | FName | Tag of the pose history node to use to reference past bone transforms. | BoneControllers/AnimNode_CopyBoneMotion.h |
|
| RotationOffset | FRotator | Rotation offset (in degrees) to apply before the rotation deltas. | BoneControllers/AnimNode_CopyBoneMotion.h |
|
| RotationPitch_CurveName | FName | BoneControllers/AnimNode_CopyBoneMotion.h | ||
| RotationPivot | FVector | Pivot offset (in local space) to use when applying the rotation. | BoneControllers/AnimNode_CopyBoneMotion.h |
|
| RotationRemapCurve | TObjectPtr< const UCurveFloat > | BoneControllers/AnimNode_CopyBoneMotion.h |
|
|
| RotationRoll_CurveName | FName | BoneControllers/AnimNode_CopyBoneMotion.h | ||
| RotationScale | float | BoneControllers/AnimNode_CopyBoneMotion.h |
|
|
| RotationSmoothingTime | float | BoneControllers/AnimNode_CopyBoneMotion.h |
|
|
| RotationYaw_CurveName | FName | BoneControllers/AnimNode_CopyBoneMotion.h | ||
| SourceBone | FBoneReference | Bone to copy the motion from. | BoneControllers/AnimNode_CopyBoneMotion.h |
|
| TargetCurveComponent | ECopyBoneMotion_Component | Which component of motion we're outputting to the curve. | BoneControllers/AnimNode_CopyBoneMotion.h |
|
| TargetCurveName | FName | Name of the curve we're outputting motion to. | BoneControllers/AnimNode_CopyBoneMotion.h |
|
| TargetCurveRotationAxis | TEnumAsByte< EAxis::Type > | Axis around which to consider the rotation angle for the curve output. | BoneControllers/AnimNode_CopyBoneMotion.h |
|
| TargetCurveScale | float | Which component of motion we're outputting to the curve. | BoneControllers/AnimNode_CopyBoneMotion.h |
|
| TranslationOffset | FRotator | Offset to use before applying the translation deltas (in degrees). | BoneControllers/AnimNode_CopyBoneMotion.h |
|
| TranslationRemapCurve | TObjectPtr< const UCurveVector > | BoneControllers/AnimNode_CopyBoneMotion.h |
|
|
| TranslationScale | FVector | BoneControllers/AnimNode_CopyBoneMotion.h |
|
|
| TranslationSmoothingTime | float | BoneControllers/AnimNode_CopyBoneMotion.h |
|
|
| TranslationX_CurveName | FName | BoneControllers/AnimNode_CopyBoneMotion.h | ||
| TranslationY_CurveName | FName | BoneControllers/AnimNode_CopyBoneMotion.h | ||
| TranslationZ_CurveName | FName | BoneControllers/AnimNode_CopyBoneMotion.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ApplySpaceDebugTransform | FTransform | BoneControllers/AnimNode_CopyBoneMotion.h | ||
| bIsDrawHistoryEnabled | bool | BoneControllers/AnimNode_CopyBoneMotion.h | ||
| LastLocDebug | FVector | BoneControllers/AnimNode_CopyBoneMotion.h | ||
| LastRotDebug | FVector | BoneControllers/AnimNode_CopyBoneMotion.h | ||
| SpringState | FAnimNode_CopyBoneMotion::FSpringData | BoneControllers/AnimNode_CopyBoneMotion.h | ||
| UpdateCounter | FGraphTraversalCounter | BoneControllers/AnimNode_CopyBoneMotion.h |
Functions
Public
Public Virtual
Overridden from FAnimNode_SkeletalControlBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void EvaluateSkeletalControl_AnyThread
(
FComponentSpacePoseContext& Output, |
BoneControllers/AnimNode_CopyBoneMotion.h | ||
virtual bool IsValidToEvaluate
(
const USkeleton* Skeleton, |
BoneControllers/AnimNode_CopyBoneMotion.h | ||
virtual void UpdateComponentPose_AnyThread
(
const FAnimationUpdateContext& Context |
BoneControllers/AnimNode_CopyBoneMotion.h | ||
virtual void UpdateInternal
(
const FAnimationUpdateContext& Context |
BoneControllers/AnimNode_CopyBoneMotion.h |
Overridden from FAnimNode_Base
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CacheBones_AnyThread
(
const FAnimationCacheBonesContext& Context |
BoneControllers/AnimNode_CopyBoneMotion.h | ||
virtual void GatherDebugData
(
FNodeDebugData& DebugData |
BoneControllers/AnimNode_CopyBoneMotion.h | ||
virtual void Initialize_AnyThread
(
const FAnimationInitializeContext& Context |
BoneControllers/AnimNode_CopyBoneMotion.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
float GetTargetCurveValue
(
const FTransformNoScale& InTransformDelta, |
BoneControllers/AnimNode_CopyBoneMotion.h | ||
bool HasTargetBone
(
const FBoneContainer& BoneContainer |
BoneControllers/AnimNode_CopyBoneMotion.h | ||
bool HasTargetCurve() |
BoneControllers/AnimNode_CopyBoneMotion.h | ||
void Reset() |
BoneControllers/AnimNode_CopyBoneMotion.h |
Protected Virtual
Overridden from FAnimNode_SkeletalControlBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void InitializeBoneReferences
(
const FBoneContainer& RequiredBones |
BoneControllers/AnimNode_CopyBoneMotion.h |