Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UPrimitiveComponent
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
| Include | #include "Components/PrimitiveComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PrimitiveComponentPhysics.cpp |
UFUNCTION (BlueprintCallable,
Meta=(DisplayName="Set Constraint Mode", Keywords="set locked axis constraint physics"),
Category=Physics)
virtual void SetConstraintMode
(
EDOFMode::Type ConstraintMode
)
Remarks
Sets the constraint mode of the component.
Parameters
| Name | Description |
|---|---|
| ConstraintMode | The type of constraint to use. |