![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <BodyInstance.h>
Public Member Functions | |
| ENGINE_API | FCollisionResponse () |
| ENGINE_API | FCollisionResponse (ECollisionResponse DefaultResponse) |
| ENGINE_API bool | SetResponse (ECollisionChannel Channel, ECollisionResponse NewResponse) |
| ENGINE_API bool | SetAllChannels (ECollisionResponse NewResponse) |
| ENGINE_API bool | ReplaceChannels (ECollisionResponse OldResponse, ECollisionResponse NewResponse) |
| ECollisionResponse | GetResponse (ECollisionChannel Channel) const |
| const FCollisionResponseContainer & | GetResponseContainer () const |
| ENGINE_API bool | SetCollisionResponseContainer (const FCollisionResponseContainer &InResponseToChannels) |
| ENGINE_API void | SetResponsesArray (const TArray< FResponseChannel > &InChannelResponses) |
| ENGINE_API void | UpdateResponseContainerFromArray () |
| ENGINE_API bool | operator== (const FCollisionResponse &Other) const |
| bool | operator!= (const FCollisionResponse &Other) const |
Friends | |
| struct | FBodyInstance |
| FCollisionResponse::FCollisionResponse | ( | ) |
| FCollisionResponse::FCollisionResponse | ( | ECollisionResponse | DefaultResponse | ) |
|
inline |
Returns the response set on the specified channel
|
inline |
|
inline |
| bool FCollisionResponse::operator== | ( | const FCollisionResponse & | Other | ) | const |
| bool FCollisionResponse::ReplaceChannels | ( | ECollisionResponse | OldResponse, |
| ECollisionResponse | NewResponse | ||
| ) |
Replace the channels matching the old response with the new response
| bool FCollisionResponse::SetAllChannels | ( | ECollisionResponse | NewResponse | ) |
Set all channels to the specified response
| bool FCollisionResponse::SetCollisionResponseContainer | ( | const FCollisionResponseContainer & | InResponseToChannels | ) |
Set all channels from ChannelResponse Array
| bool FCollisionResponse::SetResponse | ( | ECollisionChannel | Channel, |
| ECollisionResponse | NewResponse | ||
| ) |
Set the response of a particular channel in the structure.
| void FCollisionResponse::SetResponsesArray | ( | const TArray< FResponseChannel > & | InChannelResponses | ) |
| void FCollisionResponse::UpdateResponseContainerFromArray | ( | ) |
|
friend |