Navigation
API > API/Plugins > API/Plugins/PBIK
| Name | FPBIKSolver |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/FullBodyIK/Source/PBIK/Public/Core/PBIKSolver.h |
| Include Path | #include "Core/PBIKSolver.h" |
Syntax
USTRUCT ()
struct FPBIKSolver
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bHasSubChains | bool | Core/PBIKSolver.h | ||
| Bodies | TArray< PBIK::FRigidBody > | Core/PBIKSolver.h | ||
| Bones | TArray< PBIK::FBone > | Core/PBIKSolver.h | ||
| bReadyToSimulate | bool | Core/PBIKSolver.h | ||
| Constraints | TArray< TSharedPtr< PBIK::FConstraint > > | Core/PBIKSolver.h | ||
| DebugDraw | PBIK::FDebugDraw | Core/PBIKSolver.h | ||
| Effectors | TArray< PBIK::FEffector > | Core/PBIKSolver.h | ||
| SolverRoot | PBIK::FBone * | Core/PBIKSolver.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 AddBone
(
const FName Name, |
Pre-init / setup functions | Core/PBIKSolver.h | |
int32 AddEffector
(
const FName BoneName |
Core/PBIKSolver.h | ||
void GetBoneGlobalTransform
(
const int32 Index, |
Core/PBIKSolver.h | ||
int32 GetBoneIndex
(
FName BoneName |
Core/PBIKSolver.h | ||
PBIK::FBoneSettings * GetBoneSettings
(
const int32 Index |
Core/PBIKSolver.h | ||
PBIK::FDebugDraw * GetDebugDraw() |
Core/PBIKSolver.h | ||
int32 GetNumBones() |
Core/PBIKSolver.h | ||
bool Initialize() |
Main runtime functions | Core/PBIKSolver.h | |
bool IsReadyToSimulate() |
Core/PBIKSolver.h | ||
void Reset() |
Core/PBIKSolver.h | ||
void SetBoneTransform
(
const int32 Index, |
Set input / get output at runtime | Core/PBIKSolver.h | |
void SetEffectorGoal
(
const int32 Index, |
Core/PBIKSolver.h | ||
void Solve
(
const FPBIKSolverSettings& InSolverSettings |
Core/PBIKSolver.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FQuat GetRotationFromDeformedPoints
(
const TArrayView< FVector >& InInitialPoints, |
Given a set of points in an initial configuration and the same set of points in a deformed configuration, this function outputs a quaternion that represents the "best fit" rotation that rotates the initial points to the current points. | Core/PBIKSolver.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPBIKSolver & operator=
(
const FPBIKSolver& |
Core/PBIKSolver.h |