Navigation
API > API/Runtime > API/Runtime/Engine
Container for indicating a set of collision channels that this object will collide with.
| Name | FCollisionResponseContainer |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h |
| Include Path | #include "Engine/EngineTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FCollisionResponseContainer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| This constructor will set all channels to ECR_BlockThis constructor will zero out the struct | Engine/EngineTypes.h | ||
FCollisionResponseContainer
(
ECollisionResponse DefaultResponse |
Engine/EngineTypes.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DefaultResponseContainer | FCollisionResponseContainer | Static variable for default data to be used without reconstructing everytime | Engine/EngineTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Camera | uint8 | Engine/EngineTypes.h | ||
| Destructible | uint8 | Engine/EngineTypes.h | ||
| EngineTraceChannel1 | uint8 | Unspecified Engine Trace Channels. | Engine/EngineTypes.h | |
| EngineTraceChannel2 | uint8 | Engine/EngineTypes.h | ||
| EngineTraceChannel3 | uint8 | Engine/EngineTypes.h | ||
| EngineTraceChannel4 | uint8 | Engine/EngineTypes.h | ||
| EngineTraceChannel5 | uint8 | Engine/EngineTypes.h | ||
| EngineTraceChannel6 | uint8 | Engine/EngineTypes.h | ||
| EnumArray | uint8 | Engine/EngineTypes.h | ||
| FCollisionResponseContainer | union FCollisionResponseContainer | Engine/EngineTypes.h | ||
| GameTraceChannel1 | uint8 | Unspecified Game Trace Channels. | Engine/EngineTypes.h | |
| GameTraceChannel10 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel11 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel12 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel13 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel14 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel15 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel16 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel17 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel18 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel19 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel2 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel20 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel21 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel22 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel23 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel24 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel25 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel26 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel27 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel28 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel29 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel3 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel30 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel31 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel32 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel33 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel34 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel35 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel36 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel37 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel38 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel39 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel4 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel40 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel41 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel42 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel43 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel44 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel45 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel46 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel47 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel48 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel49 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel5 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel50 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel6 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel7 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel8 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel9 | uint8 | Engine/EngineTypes.h | ||
| Pawn | uint8 | Engine/EngineTypes.h | ||
| PhysicsBody | uint8 | Engine/EngineTypes.h | ||
| Vehicle | uint8 | Engine/EngineTypes.h | ||
| Visibility | uint8 | Engine/EngineTypes.h | ||
| WorldDynamic | uint8 | Engine/EngineTypes.h | ||
| WorldStatic | uint8 | Reserved Engine Trace Channels. | Engine/EngineTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 FillArrayFromResponses
(
TArray< FResponseChannel >& ChannelResponses |
Engine/EngineTypes.h | ||
ECollisionResponse GetResponse
(
ECollisionChannel Channel |
Returns the response set on the specified channel | Engine/EngineTypes.h | |
bool ReplaceChannels
(
ECollisionResponse OldResponse, |
Replace the channels matching the old response with the new response | Engine/EngineTypes.h | |
bool SetAllChannels
(
ECollisionResponse NewResponse |
Set all channels to the specified responseSet all channels to the specified state | Engine/EngineTypes.h | |
bool SetResponse
(
ECollisionChannel Channel, |
Set the response of a particular channel in the structure. | Engine/EngineTypes.h | |
void UpdateResponsesFromArray
(
TArray< FResponseChannel >& ChannelResponses |
Set all channels from ChannelResponse Array | Engine/EngineTypes.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FCollisionResponseContainer CreateMinContainer
(
const FCollisionResponseContainer& A, |
Take two response containers and create a new container where each element is the 'min' of the two inputs (ie Ignore and Block results in Ignore) | Engine/EngineTypes.h | |
static const FCollisionResponseContainer & GetDefaultResponseContainer() |
Returns the game-wide default collision response | Engine/EngineTypes.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const FCollisionResponseContainer& Other |
Engine/EngineTypes.h | ||
bool operator==
(
const FCollisionResponseContainer& Other |
Engine/EngineTypes.h |