Language:
Discover
By Skill Level
By Category

FCollisionResponseContainer

Choose your OS:

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...

 

@1221

Noexport property

Public variable

uint8

 

Camera

3

Public variable

uint8

 

Destructible

6

Public variable

uint8

 

EngineTraceChannel1

7

Public variable

uint8

 

EngineTraceChannel2

8

Public variable

uint8

 

EngineTraceChannel3

9

Public variable

uint8

 

EngineTraceChannel4

10

Public variable

uint8

 

EngineTraceChannel5

11

Public variable

uint8

 

EngineTraceChannel6

12

Public variable

uint8 [32]

 

EnumArray

Public variable

uint8

 

GameTraceChannel1

13

Public variable

uint8

 

GameTraceChannel10

22

Public variable

uint8

 

GameTraceChannel11

23

Public variable

uint8

 

GameTraceChannel12

24

Public variable

uint8

 

GameTraceChannel13

25

Public variable

uint8

 

GameTraceChannel14

26

Public variable

uint8

 

GameTraceChannel15

27

Public variable

uint8

 

GameTraceChannel16

28

Public variable

uint8

 

GameTraceChannel17

29

Public variable

uint8

 

GameTraceChannel18

30

Public variable

uint8

 

GameTraceChannel2

14

Public variable

uint8

 

GameTraceChannel3

15

Public variable

uint8

 

GameTraceChannel4

16

Public variable

uint8

 

GameTraceChannel5

17

Public variable

uint8

 

GameTraceChannel6

18

Public variable

uint8

 

GameTraceChannel7

19

Public variable

uint8

 

GameTraceChannel8

20

Public variable

uint8

 

GameTraceChannel9

21

Public variable

uint8

 

Pawn

1

Public variable

uint8

 

PhysicsBody

4

Public variable

uint8

 

Vehicle

5

Public variable

uint8

 

Visibility

2

Public variable

uint8

 

WorldDynamic

0

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

Public function

ECollisionRe ...

 

GetResponse

(
    ECollisionChannel Channel
)

Returns the response set on the specified channel

Public function

void

 

ReplaceChannels

(
    ECollisionResponse OldResponse,
    ECollisionResponse NewResponse
)

Replace the channels matching the old response with the new response

Public function

void

 

SetAllChannels

(
    ECollisionResponse NewResponse
)

Set all channels to the specified response

Set all channels to the specified state

Public function

void

 

SetResponse

(
    ECollisionChannel Channel,
    ECollisionResponse NewResponse
)

FCollisionResponseContainer .

Public function

void

 

UpdateResponsesFromArray

(
    TArray < FResponseChannel >& Channe...
)

Set all channels from ChannelResponse Array

Constants

Name

Description

DefaultResponseContainer

Static variable for default data to be used without reconstructing everytime

References

Module

Engine

Header

Runtime/Engine/Classes/Engine/EngineTypes.h