Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/USkeletalMeshComponent
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/SkeletalMeshComponent.h |
| Include | #include "Components/SkeletalMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/SkeletalMeshComponentPhysics.cpp |
void GetConstraintsFromBody
&40;
FName BodyName,
bool bParentConstraints,
bool bChildConstraints,
bool bIncludesTerminated,
TArray< FConstraintInstanceAccessor > & OutConstraints
&41;
Remarks
Gets all the constraints attached to a body
Parameters
| Name | Description |
|---|---|
| BodyName | name of the body to get the attached constraints from |
| bParentConstraints | return constraints where BodyName is the child of the constraint |
| bChildConstraints | return constraints where BodyName is the parent of the constraint |
| bParentConstraints | return constraints attached to the parent of the body |
| IncludesTerminated | whether or not to return terminated constraints |
| OutConstraints | returned list of constraints matching the parameters |