Navigation
API > API/Plugins > API/Plugins/IKRig
| Name | FIKRigBodyMoverSolver |
| Type | struct |
| Header File | /Engine/Plugins/Animation/IKRig/Source/IKRig/Public/Rig/Solvers/IKRigBodyMoverSolver.h |
| Include Path | #include "Rig/Solvers/IKRigBodyMoverSolver.h" |
Syntax
USTRUCT (BlueprintType )
struct FIKRigBodyMoverSolver : public FIKRigSolverBase
Inheritance Hierarchy
- FIKRigSolverBase → FIKRigBodyMoverSolver
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AllGoalSettings | TArray< FIKRigBodyMoverGoalSettings > | Rig/Solvers/IKRigBodyMoverSolver.h | ||
| Settings | FIKRigBodyMoverSettings | Rig/Solvers/IKRigBodyMoverSolver.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BodyBoneIndex | int32 | Rig/Solvers/IKRigBodyMoverSolver.h |
Functions
Public
Overridden from FIKRigSolverBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddGoal
(
const UIKRigEffectorGoal& InNewGoal |
Goals | Rig/Solvers/IKRigBodyMoverSolver.h | |
virtual FIKRigGoalSettingsBase * GetGoalSettings
(
const FName& InGoalName |
(required if UsesCustomGoalSettings()) override to support supplying goals settings specific to this solver to outside systems for editing/UI returns a pointer to the settings stored for the given bone (null if bone does not have settings) | Rig/Solvers/IKRigBodyMoverSolver.h | |
virtual const UScriptStruct * GetGoalSettingsType() |
(required if UsesCustomGoalSettings()) returns the type used for the goal settings in this solver | Rig/Solvers/IKRigBodyMoverSolver.h | |
virtual void GetGoalsWithSettings
(
TSet< FName >& OutGoalsWithSettings |
(required if UsesCustomGoalSettings()) override to support telling outside systems which goals this solver has settings for. | Rig/Solvers/IKRigBodyMoverSolver.h | |
virtual FText GetNiceName() |
UI stuff. | Rig/Solvers/IKRigBodyMoverSolver.h | |
virtual void GetRequiredBones
(
TSet< FName >& OutRequiredBones |
(required) override to add any bones which this solver requires (helps validate skeleton compatibility) | Rig/Solvers/IKRigBodyMoverSolver.h | |
virtual void GetRequiredGoals
(
TSet< FName >& OutRequiredGoals |
(required) override to add any goals that have been added to this solver | Rig/Solvers/IKRigBodyMoverSolver.h | |
virtual UIKRigSolverControllerBase * GetSolverController
(
UObject* Outer |
Return custom controller for scripting this solver | Rig/Solvers/IKRigBodyMoverSolver.h | |
virtual FIKRigSolverSettingsBase * GetSolverSettings() |
Solver settings | Rig/Solvers/IKRigBodyMoverSolver.h | |
virtual const UScriptStruct * GetSolverSettingsType() |
(required) override this and return the type your solver uses to store its settings | Rig/Solvers/IKRigBodyMoverSolver.h | |
virtual FName GetStartBone() |
(required if UsesStartBone()) if solver requires a start bone, then override this to return it. | Rig/Solvers/IKRigBodyMoverSolver.h | |
virtual bool GetWarningMessage
(
FText& OutWarningMessage |
(optional, but recommended) override to provide warning to user during setup of any missing components. return false if no warnings. | Rig/Solvers/IKRigBodyMoverSolver.h | |
virtual void Initialize
(
const FIKRigSkeleton& InIKRigSkeleton |
RUNTIME (required) override to setup internal data based on ref pose | Rig/Solvers/IKRigBodyMoverSolver.h | |
virtual bool IsBoneAffectedBySolver
(
const FName& InBoneName, |
(optional, but recommended) return true if the supplied Bone is affected by this solver - this provides UI feedback for user | Rig/Solvers/IKRigBodyMoverSolver.h | |
| (required) override to support CHANGING BONE for an existing goal | Rig/Solvers/IKRigBodyMoverSolver.h | ||
virtual void OnGoalRemoved
(
const FName& InGoalName |
(required) override to support REMOVING a goal from custom solver | Rig/Solvers/IKRigBodyMoverSolver.h | |
| (required) override to support RENAMING an existing goal | Rig/Solvers/IKRigBodyMoverSolver.h | ||
virtual void SetStartBone
(
const FName& InRootBoneName |
(required if UsesStartBone()) override to support SETTING ROOT BONE for the solver | Rig/Solvers/IKRigBodyMoverSolver.h | |
virtual void Solve
(
FIKRigSkeleton& InIKRigSkeleton, |
(required) override Solve() to evaluate new output pose (InOutGlobalTransform) | Rig/Solvers/IKRigBodyMoverSolver.h | |
virtual bool UsesCustomGoalSettings() |
Goal settings | Rig/Solvers/IKRigBodyMoverSolver.h | |
virtual bool UsesStartBone() |
Start bone can be set on this solver | Rig/Solvers/IKRigBodyMoverSolver.h |