Navigation
API > API/Plugins > API/Plugins/PCG
Parameters for conducting a sweep with a specified shape against the physical world.
| Name | FPCGCollisionShape |
| Type | struct |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Data/PCGCollisionShape.h |
| Include Path | #include "Data/PCGCollisionShape.h" |
Syntax
USTRUCT (BlueprintType )
struct FPCGCollisionShape
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Data/PCGCollisionShape.h | |||
FPCGCollisionShape
(
FCollisionShape InShape, |
Data/PCGCollisionShape.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BoxHalfExtent | FVector | Half the size of the sweep box's X, Y, Z components in world space. | Data/PCGCollisionShape.h |
|
| CapsuleHalfHeight | float | Half the length of the sweep's capsule in world space. | Data/PCGCollisionShape.h |
|
| CapsuleRadius | float | Radius of the spherical shape of the sweep's capsule in world space. | Data/PCGCollisionShape.h |
|
| ShapeRotation | FRotator | World space rotation applied to the collision shape prior to the sweep. | Data/PCGCollisionShape.h |
|
| ShapeType | EPCGCollisionShapeType | Shape that will be used in the collision detection. | Data/PCGCollisionShape.h |
|
| SphereRadius | float | Radius of the sweep's sphere in world space. | Data/PCGCollisionShape.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCollisionShape ToCollisionShape
(
const FPCGContext* InOptionalContext |
Data/PCGCollisionShape.h |