UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
PoseableMeshComponent.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"
7#include "BoneContainer.h"
9#include "PoseableMeshComponent.generated.h"
10
11class USkeletalMeshComponent;
12
16UCLASS(ClassGroup=Rendering, hidecategories=(Object,Physics), config=Engine, editinlinenew, meta=(BlueprintSpawnableComponent), MinimalAPI)
18{
20
21 // we need this for template function in the cpp
22 // skeletalmeshcomponent hides this property, so now creating extra getter for poseablemeshcomponent
23 // although it's fine for poseablemeshcomponent to have this as external
24 // note that their signature is different, but the template would workf ine
25 const TArray<FTransform>& GetBoneSpaceTransforms() const { return BoneSpaceTransforms; }
26
28 TArray<FTransform> BoneSpaceTransforms;
29public:
30
31 FBoneContainer RequiredBones;
32
33 UFUNCTION(BlueprintCallable, Category="Components|PoseableMesh")
35
36 UFUNCTION(BlueprintCallable, Category="Components|PoseableMesh")
38
39 UFUNCTION(BlueprintCallable, Category="Components|PoseableMesh")
41
42 UFUNCTION(BlueprintCallable, Category="Components|PoseableMesh")
44
45 UFUNCTION(BlueprintCallable, Category="Components|PoseableMesh")
47
48 UFUNCTION(BlueprintCallable, Category="Components|PoseableMesh")
50
51 UFUNCTION(BlueprintCallable, Category="Components|PoseableMesh")
53
54 UFUNCTION(BlueprintCallable, Category="Components|PoseableMesh")
56
57 UFUNCTION(BlueprintCallable, Category="Components|PoseableMesh")
59
60 UFUNCTION(BlueprintCallable, Category="Components|PoseableMesh")
62
63 //~ Begin USkinnedMeshComponent Interface
64 ENGINE_API virtual void RefreshBoneTransforms(FActorComponentTickFunction* TickFunction = NULL) override;
65 ENGINE_API virtual bool AllocateTransformData() override;
66 ENGINE_API virtual bool ShouldUpdateTransform(bool bLODHasChanged) const override;
67 //~ End USkinnedMeshComponent Interface
68
69 bool IsRunningParallelEvaluation() const { return false; }
75 ENGINE_API void FillComponentSpaceTransforms();
76
78private:
79 // this is marked if transform has to be updated
81};
82
83
84
#define NULL
Definition oodle2base.h:134
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UFUNCTION(...)
Definition ObjectMacros.h:745
#define GENERATED_UCLASS_BODY(...)
Definition ObjectMacros.h:768
#define UCLASS(...)
Definition ObjectMacros.h:776
Definition Engine.Build.cs:7
Definition NameTypes.h:617
Definition Array.h:670
Definition SkinnedMeshComponent.h:258
Definition SkinnedMeshComponent.h:133
Definition EngineBaseTypes.h:571
Definition BoneContainer.h:192