Navigation
API > API/Runtime > API/Runtime/Chaos
Union between shape and shapes array pointers, used for passing around shapes with implicit that could be single implicit or union.
| Name | FShapeOrShapesArray |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/GeometryParticles.h |
| Include Path | #include "Chaos/GeometryParticles.h" |
Syntax
class FShapeOrShapesArray
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Chaos/GeometryParticles.h | |||
FShapeOrShapesArray
(
const FGeometryParticleHandle* Particle |
Store particle's shape array if particle has union geometry, otherwise individual shape. | Chaos/GeometryParticles.h | |
FShapeOrShapesArray
(
const FPerShapeData* InShape |
Chaos/GeometryParticles.h | ||
FShapeOrShapesArray
(
const FShapesArray* InShapeArray |
Chaos/GeometryParticles.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Shape | const FPerShapeData * | Chaos/GeometryParticles.h | ||
| ShapeArray | const FShapesArray * | Chaos/GeometryParticles.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsSingleShape | bool | Chaos/GeometryParticles.h | ||
| FShapeOrShapesArray | union Chaos::FShapeOrShapesArray | Chaos/GeometryParticles.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FPerShapeData * GetShape() |
Do not call without checking IsSingleShape(). | Chaos/GeometryParticles.h | |
const FShapesArray * GetShapesArray() |
Do not call without checking IsSingleShape(). | Chaos/GeometryParticles.h | |
bool IsSingleShape() |
Chaos/GeometryParticles.h | ||
bool IsValid() |
Chaos/GeometryParticles.h |