UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FCollisionResponse Struct Reference

#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 FCollisionResponseContainerGetResponseContainer () 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
 

Constructor & Destructor Documentation

◆ FCollisionResponse() [1/2]

FCollisionResponse::FCollisionResponse ( )

◆ FCollisionResponse() [2/2]

FCollisionResponse::FCollisionResponse ( ECollisionResponse  DefaultResponse)

Member Function Documentation

◆ GetResponse()

ECollisionResponse FCollisionResponse::GetResponse ( ECollisionChannel  Channel) const
inline

Returns the response set on the specified channel

◆ GetResponseContainer()

const FCollisionResponseContainer & FCollisionResponse::GetResponseContainer ( ) const
inline

◆ operator!=()

bool FCollisionResponse::operator!= ( const FCollisionResponse Other) const
inline

◆ operator==()

bool FCollisionResponse::operator== ( const FCollisionResponse Other) const

◆ ReplaceChannels()

bool FCollisionResponse::ReplaceChannels ( ECollisionResponse  OldResponse,
ECollisionResponse  NewResponse 
)

Replace the channels matching the old response with the new response

◆ SetAllChannels()

bool FCollisionResponse::SetAllChannels ( ECollisionResponse  NewResponse)

Set all channels to the specified response

◆ SetCollisionResponseContainer()

bool FCollisionResponse::SetCollisionResponseContainer ( const FCollisionResponseContainer InResponseToChannels)

Set all channels from ChannelResponse Array

◆ SetResponse()

bool FCollisionResponse::SetResponse ( ECollisionChannel  Channel,
ECollisionResponse  NewResponse 
)

Set the response of a particular channel in the structure.

◆ SetResponsesArray()

void FCollisionResponse::SetResponsesArray ( const TArray< FResponseChannel > &  InChannelResponses)

◆ UpdateResponseContainerFromArray()

void FCollisionResponse::UpdateResponseContainerFromArray ( )

Friends And Related Symbol Documentation

◆ FBodyInstance


The documentation for this struct was generated from the following files: