FCollisionResponseContainer

Container for indicating a set of collision channels that this object will collide with.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h

Include

#include "Engine/EngineTypes.h"

Syntax

struct FCollisionResponseContainer

Remarks

Container for indicating a set of collision channels that this object will collide with.

Variables

Name Description

Public variable

union FCollisio...

 

@1272

Public variable

uint8

 

Camera

Public variable

uint8

 

Destructible

Public variable

uint8

 

EngineTraceChannel1

Unspecified Engine Trace Channels.

Public variable

uint8

 

EngineTraceChannel2

Public variable

uint8

 

EngineTraceChannel3

Public variable

uint8

 

EngineTraceChannel4

Public variable

uint8

 

EngineTraceChannel5

Public variable

uint8

 

EngineTraceChannel6

Public variable

uint8[32]

 

EnumArray

Public variable

uint8

 

GameTraceChannel1

Unspecified Game Trace Channels.

Public variable

uint8

 

GameTraceChannel10

Public variable

uint8

 

GameTraceChannel11

Public variable

uint8

 

GameTraceChannel12

Public variable

uint8

 

GameTraceChannel13

Public variable

uint8

 

GameTraceChannel14

Public variable

uint8

 

GameTraceChannel15

Public variable

uint8

 

GameTraceChannel16

Public variable

uint8

 

GameTraceChannel17

Public variable

uint8

 

GameTraceChannel18

Public variable

uint8

 

GameTraceChannel2

Public variable

uint8

 

GameTraceChannel3

Public variable

uint8

 

GameTraceChannel4

Public variable

uint8

 

GameTraceChannel5

Public variable

uint8

 

GameTraceChannel6

Public variable

uint8

 

GameTraceChannel7

Public variable

uint8

 

GameTraceChannel8

Public variable

uint8

 

GameTraceChannel9

Public variable

uint8

 

Pawn

Public variable

uint8

 

PhysicsBody

Public variable

uint8

 

Vehicle

Public variable

uint8

 

Visibility

Public variable

uint8

 

WorldDynamic

Public variable

uint8

 

WorldStatic

Reserved Engine Trace Channels.

Constructors

Name Description

Public function

FCollisionResponseContainer()

This constructor will set all channels to ECR_Block

This constructor will zero out the struct

Public function

FCollisionResponseContainer

(
    ECollisionResponse DefaultResponse
)

Functions

Name Description

Public function Static

FCollisionRe...

 

CreateMinContainer

(
    const FCollisionResponseContainer&...,
    const FCollisionResponseContainer&...
)

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)

Public function

int32

 

FillArrayFromResponses

(
    TArray< FResponseChannel >& Channe...
)

Public function Static

const FColli...

 

GetDefaultResponseContainer()

Returns the game-wide default collision response

Public function Const

ECollisionRe...

 

GetResponse

(
    ECollisionChannel Channel
)

Returns the response set on the specified channel

Public function

bool

 

ReplaceChannels

(
    ECollisionResponse OldResponse,
    ECollisionResponse NewResponse
)

Replace the channels matching the old response with the new response

Public function

bool

 

SetAllChannels

(
    ECollisionResponse NewResponse
)

Set all channels to the specified response

Set all channels to the specified state

Public function

bool

 

SetResponse

(
    ECollisionChannel Channel,
    ECollisionResponse NewResponse
)

Set the response of a particular channel in the structure.

Public function

void

 

UpdateResponsesFromArray

(
    TArray< FResponseChannel >& Channe...
)

Set all channels from ChannelResponse Array

Operators

Name Description

Public function Const

bool

 

operator!=

(
    const FCollisionResponseContainer&...
)

Public function Const

bool

 

operator==

(
    const FCollisionResponseContainer&...
)

Constants

Name

Description

DefaultResponseContainer

Static variable for default data to be used without reconstructing everytime

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback