Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/PhysicsEngine/PhysicsConstraintTemplate.h |
Include |
#include "PhysicsEngine/PhysicsConstraintTemplate.h" |
void ApplyConstraintProfile
(
FName ProfileName,
FConstraintInstance & CI,
bool bDefaultIfNotFound
) const
Find profile with given name and apply it to constraint instance.
we cannot return a pointer to the constraint profile as it's in a TArray by value and could be resized leading to an unsafe API