Navigation
API > API/Plugins > API/Plugins/IKRig
| Name | FIKRetargetRunIKRigOp |
| Type | struct |
| Header File | /Engine/Plugins/Animation/IKRig/Source/IKRig/Public/Retargeter/RetargetOps/RunIKRigOp.h |
| Include Path | #include "Retargeter/RetargetOps/RunIKRigOp.h" |
Syntax
USTRUCT (BlueprintType , Meta=(DisplayName="Run IK Rig"))
struct FIKRetargetRunIKRigOp : public FIKRetargetOpBase
Inheritance Hierarchy
- FIKRetargetOpBase → FIKRetargetRunIKRigOp
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DebugDataMutex | FCriticalSection | Retargeter/RetargetOps/RunIKRigOp.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ChainMapping | FRetargetChainMapping | This op maintains its own chain mapping table to allow per-op mapping | Retargeter/RetargetOps/RunIKRigOp.h | |
| GoalDebugData | TArray< FRunIKRigOpGoalDebugData > | Retargeter/RetargetOps/RunIKRigOp.h | ||
| Settings | FIKRetargetRunIKRigOpSettings | Retargeter/RetargetOps/RunIKRigOp.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| GoalBoneIndicesMap | TMap< FName, int32 > | Retargeter/RetargetOps/RunIKRigOp.h | ||
| IKRigProcessor | FIKRigProcessor | The IK Rig processor for running IK on the target | Retargeter/RetargetOps/RunIKRigOp.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Retargeter/RetargetOps/RunIKRigOp.h | |||
void SaveCurrentGoalTransformsIntoDebugData() |
Retargeter/RetargetOps/RunIKRigOp.h | ||
void SaveInitialGoalTransformsIntoDebugData
(
const FIKRetargetProcessor& InProcessor, |
Retargeter/RetargetOps/RunIKRigOp.h |
Overridden from FIKRetargetOpBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanHaveChildOps() |
(optional) ops can optionally behave as a 'parent' where child ops must be executed first. | Retargeter/RetargetOps/RunIKRigOp.h | |
virtual void DebugDraw
(
FPrimitiveDrawInterface* InPDI, |
(optional) override to draw debug info into the editor viewport when the Op is selected | Retargeter/RetargetOps/RunIKRigOp.h | |
virtual FRetargetChainMapping * GetChainMapping () |
(optional) ops can optionally store their own chain mapping, this allows outside systems to query/edit it. | Retargeter/RetargetOps/RunIKRigOp.h | |
virtual const UIKRigDefinition * GetCustomTargetIKRig() |
(optional) override and supply the target IK Rig this op references NOTE: The retarget processor will resolve the bone chains in the rig so that they can be queried by the op. | Retargeter/RetargetOps/RunIKRigOp.h | |
virtual FIKRetargetOpSettingsBase * GetSettings () |
(required) override and return a pointer to the settings struct used by this operation NOTE: it is not permitted to modify the settings from inside this getter. | Retargeter/RetargetOps/RunIKRigOp.h | |
virtual const UScriptStruct * GetSettingsType() |
(required) override and return the type used to house the settings for this operation | Retargeter/RetargetOps/RunIKRigOp.h | |
virtual const UScriptStruct * GetType() |
(required) override and return the type of this op (the derived subclass) | Retargeter/RetargetOps/RunIKRigOp.h | |
virtual bool HasDebugDrawing() |
(required if using DebugDraw()) return true to display the debug draw toggle in the UI | Retargeter/RetargetOps/RunIKRigOp.h | |
virtual bool Initialize
(
const FIKRetargetProcessor& InProcessor, |
(optional) override to cache internal data when initializing the processor NOTE: you must set bIsInitialized to true to inform the retargeter that this op is ok to execute. | Retargeter/RetargetOps/RunIKRigOp.h | |
virtual void InitializeBeforeChildren
(
FIKRetargetProcessor& InProcessor, |
(optional) override to give this op a chance to initialize before it's children are initialized This is executed right after the previous op in the stack and right before the first child op Initialize() is called NOTE: unless this is a parent op, this will have no effect | Retargeter/RetargetOps/RunIKRigOp.h | |
virtual void OnAddedToStack
(
const UIKRetargeter* InRetargetAsset, |
(optional) override to automate initial setup after being added to the stack | Retargeter/RetargetOps/RunIKRigOp.h | |
virtual void OnAssignIKRig
(
const ERetargetSourceOrTarget SourceOrTarget, |
(optional) override to react after user assigns a new IK Rig to all ops | Retargeter/RetargetOps/RunIKRigOp.h | |
virtual void OnReinitPropertyEdited
(
const FPropertyChangedEvent* InPropertyChangedEvent |
(optional) override to allow ops to react when a property marked "ReinitializeOnEdit" is modified NOTE: this is called before Initialize() is called again to give op a chance to auto-configure itself based on its new state NOTE: this is called in several places where InPropertyChangedEvent may be null | Retargeter/RetargetOps/RunIKRigOp.h | |
virtual void Run
(
FIKRetargetProcessor& InProcessor, |
(optional) override to evaluate this operation and modify the output pose | Retargeter/RetargetOps/RunIKRigOp.h | |
virtual void RunBeforeChildren
(
FIKRetargetProcessor& InProcessor, |
(optional) override to give this op a chance to do work before it's children are run This is executed right after the previous op in the stack and right before the first child op Run() is called NOTE: unless this is a parent op, this will have no effect | Retargeter/RetargetOps/RunIKRigOp.h |