![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <TransformConstraintUtil.h>
FConstraintsInteractionCache is designed to minimize the number of requests made to the ConstraintManager and thus improve performance. it is particularly useful for interface components that need to be updated frequently. note that PerHandleConstraints and PerTargetConstraints are reset when the constraint graph is updated, to keep it synchronized.
| const TArray< TWeakObjectPtr< UTickableConstraint > > & UE::TransformConstraintUtil::FConstraintsInteractionCache::Get | ( | const uint32 | InHandleHash, |
| UWorld * | InWorld | ||
| ) |
| const TArray< TWeakObjectPtr< UTickableConstraint > > & UE::TransformConstraintUtil::FConstraintsInteractionCache::Get | ( | const UObject * | InObject, |
| const FName & | InAttachmentName | ||
| ) |
| const TArray< TWeakObjectPtr< UTickableConstraint > > & UE::TransformConstraintUtil::FConstraintsInteractionCache::Get | ( | UObject * | InTarget, |
| UWorld * | InWorld = nullptr |
||
| ) |
| TOptional< FTransform > UE::TransformConstraintUtil::FConstraintsInteractionCache::GetParentTransform | ( | const uint32 | InHandleHash, |
| UWorld * | InWorld | ||
| ) |
| TOptional< FTransform > UE::TransformConstraintUtil::FConstraintsInteractionCache::GetParentTransform | ( | const UObject * | InObject, |
| const FName & | InAttachmentName | ||
| ) |
| bool UE::TransformConstraintUtil::FConstraintsInteractionCache::HasAnyActiveConstraint | ( | const uint32 | InHandleHash, |
| UWorld * | InWorld | ||
| ) |
| bool UE::TransformConstraintUtil::FConstraintsInteractionCache::HasAnyActiveConstraint | ( | const UObject * | InObject, |
| const FName & | InAttachmentName | ||
| ) |
| bool UE::TransformConstraintUtil::FConstraintsInteractionCache::HasAnyActiveConstraint | ( | UObject * | InTarget, |
| UWorld * | InWorld = nullptr |
||
| ) |
| bool UE::TransformConstraintUtil::FConstraintsInteractionCache::HasAnyDependency | ( | UObject * | InChild, |
| UObject * | InParent, | ||
| UWorld * | InWorld | ||
| ) |
| void UE::TransformConstraintUtil::FConstraintsInteractionCache::RegisterNotifications | ( | ) |
| void UE::TransformConstraintUtil::FConstraintsInteractionCache::Reset | ( | ) |
| void UE::TransformConstraintUtil::FConstraintsInteractionCache::UnregisterNotifications | ( | ) |