Navigation
API > API/Plugins > API/Plugins/PCG
| Name | FPCGCollisionWrapper |
| Type | struct |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Data/PCGCollisionWrapperData.h |
| Include Path | #include "Data/PCGCollisionWrapperData.h" |
Syntax
struct FPCGCollisionWrapper
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Data/PCGCollisionWrapperData.h | |||
FPCGCollisionWrapper
(
const FPCGCollisionWrapper& |
Data/PCGCollisionWrapperData.h | ||
FPCGCollisionWrapper
(
FPCGCollisionWrapper&& Other |
Data/PCGCollisionWrapperData.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FPCGCollisionWrapper() |
Data/PCGCollisionWrapperData.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bInitialized | bool | Data/PCGCollisionWrapperData.h | ||
| BodyInstances | TArray< FBodyInstance * > | Data/PCGCollisionWrapperData.h | ||
| IndexToBodyInstance | TArray< int32 > | Data/PCGCollisionWrapperData.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CreateBodyInstances
(
const TArray< FSoftObjectPath >& MeshPaths |
Data/PCGCollisionWrapperData.h | ||
FBodyInstance * GetBodyInstance
(
int32 EntryIndex |
Retrieves the body instance associated to the entry given by its index. | Data/PCGCollisionWrapperData.h | |
void GetShapeArray
(
int32 EntryIndex, |
Retrieves the shape list for a given entry matching the query flag. | Data/PCGCollisionWrapperData.h | |
bool Initialize
(
const IPCGAttributeAccessor* Accessor, |
Simple API - does both the prepare & create body instances in a single step. | Data/PCGCollisionWrapperData.h | |
bool Prepare
(
const IPCGAttributeAccessor* Accessor, |
Advanced API - allows to do async loading as we separate the mesh finding part from the body creation part. | Data/PCGCollisionWrapperData.h | |
void Uninitialize() |
Data/PCGCollisionWrapperData.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool GetShapeArray
(
FBodyInstance* BodyInstance, |
Retrieves the shape list for a given body, matching the query flag. Returns false if we selected the other type for the 'SimpleFirst' or 'ComplexFirst' cases. | Data/PCGCollisionWrapperData.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPCGCollisionWrapper & operator=
(
const FPCGCollisionWrapper& |
Data/PCGCollisionWrapperData.h | ||
FPCGCollisionWrapper & operator=
(
FPCGCollisionWrapper&& Other |
Data/PCGCollisionWrapperData.h |