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, Category="Collision")
virtual void SetCollisionResponseToAllChannels
(
ECollisionResponse NewResponse
)
Remarks
Changes all ResponseToChannels container for this PrimitiveComponent. to be NewResponse
Parameters
| Name | Description |
|---|---|
| NewResponse | What the new response should be to the supplied Channel |