UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TransformableHandleUtils.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
7#include "HAL/Platform.h"
8
9class USceneComponent;
10class USkeletalMeshComponent;
12
14{
17
20
23
28 CONSTRAINTS_API void MarkComponentForEvaluation(const USceneComponent* InSceneComponent, const bool bRecursive = false);
29
34 CONSTRAINTS_API FTransform GetGlobalTransform(USceneComponent* InSceneComponent, const FName InSocketName);
35
38
41 USceneComponent* InSceneComponent,
43
47 template<typename T = UObject>
49 {
50 return IsValid(InHandle) && InHandle->IsValid() ? Cast<T>(InHandle->GetTarget().Get()) : nullptr;
51 }
52}
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition NameTypes.h:617
Definition TransformableHandle.h:45
Definition TransformableHandleUtils.cpp:10
void TickSkeletalMeshComponent(USkeletalMeshComponent *InSkeletalMeshComponent)
Definition TransformableHandleUtils.cpp:71
void MarkComponentForEvaluation(const USceneComponent *InSceneComponent, const bool bRecursive)
Definition TransformableHandleUtils.cpp:96
T * GetTarget(const TObjectPtr< UTransformableHandle > &InHandle)
Definition TransformableHandleUtils.h:48
bool SkipTicking()
Definition TransformableHandleUtils.cpp:39
FTransform GetGlobalTransform(USceneComponent *InSceneComponent, const FName InSocketName)
Definition TransformableHandleUtils.cpp:117
void TickDependantComponents(USceneComponent *InComponent)
Definition TransformableHandleUtils.cpp:44
const UE::Anim::FAnimationEvaluator & EvaluateComponent(USceneComponent *InSceneComponent)
Definition TransformableHandleUtils.cpp:186
Definition ObjectPtr.h:488
Definition AnimationEvaluation.h:20
Definition AnimationEvaluation.h:41