Navigation
API > API/Runtime > API/Runtime/Constraints
UConstraintsManager This object gathers the different static/nonanimated constraints of the level and is held by the ConstraintsActor (unique in the level) Note in 5.4 all of the constraints are owned by the subsystem, so need to get that to get at animated constraints
| Name | UConstraintsManager |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Animation/Constraints/Public/ConstraintsManager.h |
| Include Path | #include "ConstraintsManager.h" |
Syntax
UCLASS (Blueprintable, MinimalAPI)
class UConstraintsManager : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UConstraintsManager
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UConstraintsManager() |
UConstraintsManager | ConstraintsManager.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~UConstraintsManager() |
ConstraintsManager.h |
Classes
| Name | Remarks |
|---|---|
| FOnConstraintAdded_MCSignature | Dynamic blueprintable delegates for knowing when a constraints are added or deleted |
| FOnConstraintRemoved_MCSignature |
Structs
| Name | Remarks |
|---|---|
| FOnConstraintAdded | |
| FOnConstraintAddedInfoGetter | |
| FOnConstraintRemoved | |
| FOnConstraintRemovedInfoGetter |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| ConstraintPtr | TObjectPtr< UTickableConstraint > | ConstraintsManager.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnConstraintAdded_BP | FOnConstraintAdded | BP Delegate fired when constraints are added | ConstraintsManager.h |
|
| OnConstraintRemoved_BP | FOnConstraintRemoved | BP Delegate fired when constraints are removed | ConstraintsManager.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Constraints | TArray< TObjectPtr< UTickableConstraint > > | For 5.4, this now just contains all of the static constraints. | ConstraintsManager.h | |
| OnActorDestroyedHandle | FDelegateHandle | ConstraintsManager.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Clear
(
UWorld* World |
ConstraintsManager.h | ||
void Init
(
UWorld* InWorld |
ConstraintsManager.h | ||
bool IsStaticConstraint
(
UTickableConstraint* InConstraint |
ConstraintsManager.h | ||
void RemoveStaticConstraint
(
UTickableConstraint* InConstraint |
ConstraintsManager.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostLoad() |
UObjects. | ConstraintsManager.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UConstraintsManager * Find
(
const UWorld* InWorld |
Find the existing Constraints Manager. | ConstraintsManager.h | |
static UConstraintsManager * Get
(
UWorld* InWorld |
Get the existing Constraints Manager if existing or create a new one. | ConstraintsManager.h |