UPrimitiveComponent::SetConstraintMode

Sets the constraint mode of the component.