Navigation
API > API/Plugins > API/Plugins/IKRig
| Name | FIKRetargetIKChainsOp |
| Type | struct |
| Header File | /Engine/Plugins/Animation/IKRig/Source/IKRig/Public/Retargeter/RetargetOps/IKChainsOp.h |
| Include Path | #include "Retargeter/RetargetOps/IKChainsOp.h" |
Syntax
USTRUCT (BlueprintType , Meta=(DisplayName="Retarget IK Goals"))
struct FIKRetargetIKChainsOp : public FIKRetargetOpBase
Inheritance Hierarchy
- FIKRetargetOpBase → FIKRetargetIKChainsOp
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DebugDataMutex | FCriticalSection | Retargeter/RetargetOps/IKChainsOp.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AllChainsDebugData | TArray< FChainDebugData > | Retargeter/RetargetOps/IKChainsOp.h | ||
| DebugRootModification | FVector | Retargeter/RetargetOps/IKChainsOp.h | ||
| Settings | FIKRetargetIKChainsOpSettings | Retargeter/RetargetOps/IKChainsOp.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| IKChainRetargeters | TArray< FIKChainRetargeter > | Retargeter/RetargetOps/IKChainsOp.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SaveDebugData
(
const FIKRetargetProcessor& InProcessor, |
Retargeter/RetargetOps/IKChainsOp.h |
Overridden from FIKRetargetOpBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool AreChainSettingsAtDefault
(
const FName& InChainName |
(optional) override to support "Reset to Default" UI for chains | Retargeter/RetargetOps/IKChainsOp.h | |
virtual void DebugDraw
(
FPrimitiveDrawInterface* InPDI, |
(optional) override to draw debug info into the editor viewport when the Op is selected | Retargeter/RetargetOps/IKChainsOp.h | |
virtual const UScriptStruct * GetParentOpType() |
(optional) ops can optionally behave as a 'child' where they can be parented to ops of the type returned by this function. | Retargeter/RetargetOps/IKChainsOp.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/IKChainsOp.h | |
virtual const UScriptStruct * GetSettingsType() |
(required) override and return the type used to house the settings for this operation | Retargeter/RetargetOps/IKChainsOp.h | |
virtual const UScriptStruct * GetType() |
(required) override and return the type of this op (the derived subclass) | Retargeter/RetargetOps/IKChainsOp.h | |
virtual bool HasDebugDrawing() |
(required if using DebugDraw()) return true to display the debug draw toggle in the UI | Retargeter/RetargetOps/IKChainsOp.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/IKChainsOp.h | |
virtual void OnAddedToStack
(
const UIKRetargeter* InRetargetAsset, |
(optional) override to automate initial setup after being added to the stack | Retargeter/RetargetOps/IKChainsOp.h | |
virtual void OnAssignIKRig
(
const ERetargetSourceOrTarget SourceOrTarget, |
(optional) override to react after user assigns a new IK Rig to all ops | Retargeter/RetargetOps/IKChainsOp.h | |
virtual void OnParentReinitPropertyEdited
(
const FIKRetargetOpBase& InParentOp, |
(optional) override to allow ops to react when a property marked "ReinitializeOnEdit" on the parent op is modified NOTE: InPropertyChangedEvent will be null at load time giving op a chance to clean based on parent state. | Retargeter/RetargetOps/IKChainsOp.h | |
virtual void OnTargetChainRenamed
(
const FName InOldChainName, |
(optional) implement this if the op stores chain settings by name to allow the settings to be maintained after a chain is renamed NOTE: this is only called when the target IK Rig this op references has a chain that is renamed. | Retargeter/RetargetOps/IKChainsOp.h | |
virtual void ResetChainSettingsToDefault
(
const FName& InChainName |
(optional) override to support resetting all settings for a given chain | Retargeter/RetargetOps/IKChainsOp.h | |
virtual void Run
(
FIKRetargetProcessor& InProcessor, |
(optional) override to evaluate this operation and modify the output pose | Retargeter/RetargetOps/IKChainsOp.h | |
virtual void SetSettings
(
const FIKRetargetOpSettingsBase* InSettings |
(optional) override to react when settings are applied at runtime NOTE: This is called while the Op is running AFTER Initialize() so it up to the Op author to copy only those settings which are safe to be updated while the op is running. | Retargeter/RetargetOps/IKChainsOp.h |