Navigation
API > API/Runtime > API/Runtime/Engine
| Name | FSocketReference |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Animation/BoneSocketReference.h |
| Include Path | #include "Animation/BoneSocketReference.h" |
Syntax
USTRUCT ()
struct FSocketReference
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Animation/BoneSocketReference.h | |||
FSocketReference
(
const FName& InSocketName |
Animation/BoneSocketReference.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| SocketName | FName | Target socket to look at. | Animation/BoneSocketReference.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CachedSocketCompactBoneIndex | FCompactPoseBoneIndex | Animation/BoneSocketReference.h | ||
| CachedSocketLocalTransform | FTransform | Animation/BoneSocketReference.h | ||
| CachedSocketMeshBoneIndex | FMeshPoseBoneIndex | Animation/BoneSocketReference.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTransform GetAnimatedSocketTransform
(
FCSPose< poseType >& InPose |
Animation/BoneSocketReference.h | ||
FCompactPoseBoneIndex GetCachedSocketCompactBoneIndex() |
Animation/BoneSocketReference.h | ||
bool HasValidSetup() |
There are subtle difference between this two IsValid function First one says the configuration had a valid socket as mesh index is valid Second one says the current bonecontainer doesn't contain it, meaning the current LOD is missing the joint that is required to evaluate Although the expected behavior is ambiguous, I'll still split these two, and use it accordingly | Animation/BoneSocketReference.h | |
void InitializeSocketInfo
(
const FAnimInstanceProxy* InAnimInstanceProxy |
Animation/BoneSocketReference.h | ||
void InitialzeCompactBoneIndex
(
const FBoneContainer& RequiredBones |
Animation/BoneSocketReference.h | ||
void InvalidateCachedBoneIndex() |
Animation/BoneSocketReference.h | ||
bool IsValidToEvaluate() |
Animation/BoneSocketReference.h |