UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
PoseWatchRenderData.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#pragma once
4
5
#include "
CoreMinimal.h
"
6
#include "
Animation/AttributesRuntime.h
"
7
8
#if WITH_EDITORONLY_DATA
9
10
#include "
UObject/ObjectMacros.h
"
11
#include "
UObject/Object.h
"
12
#include "
BoneIndices.h
"
13
#include "
Animation/AnimCurveTypes.h
"
14
15
namespace
UE::Anim
16
{
17
struct
FStackAttributeContainer;
18
struct
FHeapAttributeContainer;
19
}
20
21
struct
FReferenceSkeleton
;
22
23
struct
FAnimNodePoseWatch
24
{
25
public
:
26
ENGINE_API
FAnimNodePoseWatch
();
27
28
// Object (anim instance) that this pose came from
29
const
UObject
*
Object
;
30
class
UPoseWatch
*
PoseWatch
;
31
class
UPoseWatchPoseElement
*
PoseWatchPoseElement
;
32
int32
NodeID;
33
34
ENGINE_API
bool
IsValid
()
const
;
35
36
ENGINE_API
void
SetCurves
(
const
FBlendedCurve
&
InCurves
);
37
38
// _Moves_ Attributes out of InAttributes
39
ENGINE_API
void
SetAttributes(
UE::Anim::FMeshAttributeContainer
&
InAttributes
);
40
41
template
<
class
TAllocator>
42
bool
SetPose
(
const
TArray<FBoneIndexType>
&
InRequiredBones
,
const
TArray<FTransform, TAllocator>
&
InBoneTransforms
)
43
{
44
RequiredBones =
InRequiredBones
;
45
BoneTransforms =
InBoneTransforms
;
46
return
true
;
47
}
48
49
ENGINE_API
void
SetWorldTransform(
const
FTransform
&
InWorldTransform
);
50
55
ENGINE_API
void
CopyPoseWatchData
(
const
FReferenceSkeleton
&
RefSkeleton
);
56
57
ENGINE_API
const
TArray<FBoneIndexType>
& GetRequiredBones()
const
;
58
59
ENGINE_API
const
TArray<FTransform>
&
GetBoneTransforms
()
const
;
60
61
ENGINE_API
const
FBlendedHeapCurve
& GetCurves()
const
;
62
63
ENGINE_API
const
UE::Anim::FMeshAttributeContainer
& GetAttributes()
const
;
64
65
ENGINE_API
const
FTransform
& GetWorldTransform()
const
;
66
67
ENGINE_API
FLinearColor
GetBoneColor
()
const
;
68
69
ENGINE_API
FVector
GetViewportOffset
()
const
;
70
71
ENGINE_API
const
TArray<int32>
&
GetViewportAllowList
()
const
;
72
73
ENGINE_API
const
TArray<int32>
&
GetParentIndices
()
const
;
74
75
private
:
76
FTransform
WorldTransform;
77
TArray<FBoneIndexType>
RequiredBones;
78
TArray<FTransform>
BoneTransforms;
79
FBlendedHeapCurve
Curves;
80
UE::Anim::FMeshAttributeContainer
MeshAttributes;
81
82
// Mirrored properties updated on CopyPoseWatchData
83
FLinearColor
BoneColor;
84
FVector
ViewportOffset
;
85
TArray<int32>
ViewportMaskAllowedList
;
86
TArray<int32>
ParentIndices;
87
};
88
89
#endif
AnimCurveTypes.h
AttributesRuntime.h
EAudioParameterType::Object
@ Object
BoneIndices.h
EChaosVDManifoldPointFlags::IsValid
@ IsValid
CoreMinimal.h
int32
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition
Platform.h:1125
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
ObjectMacros.h
Object.h
ESkeletalMeshAsyncProperties::RefSkeleton
@ RefSkeleton
TArray
Definition
Array.h:670
UObject
Definition
Object.h:95
UPoseWatchPoseElement
Definition
PoseWatch.h:230
UPoseWatch
Definition
PoseWatch.h:267
UE::Anim
Definition
AnimationAsset.h:42
FBlendedCurve
Definition
AnimCurveTypes.h:1041
FBlendedHeapCurve
Definition
AnimCurveTypes.h:1049
FLinearColor
Definition
Color.h:48
FReferenceSkeleton
Definition
ReferenceSkeleton.h:100
UE::Anim::FMeshAttributeContainer
Definition
AttributesRuntime.h:42
UE::Math::TTransform< double >
UE::Math::TVector< double >
Engine
Source
Runtime
Engine
Classes
Engine
PoseWatchRenderData.h
Generated by
1.9.8