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 | ||
| GameTraceChannel2 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel3 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel4 | uint8 | Engine/EngineTypes.h | ||
| GameTraceChannel5 | 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 |