Navigation
API > API/Runtime > API/Runtime/Chaos
Metadata for a convex shape used by the manifold generation system and anything else that can benefit from knowing which vertices are associated with the faces.
| Name | FConvexStructureData |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/ConvexStructureData.h |
| Include Path | #include "Chaos/ConvexStructureData.h" |
Syntax
class FConvexStructureData
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FConvexStructureData
(
FConvexStructureData&& Other |
Chaos/ConvexStructureData.h | ||
| Chaos/ConvexStructureData.h | |||
FConvexStructureData
(
const FConvexStructureData& Other |
Chaos/ConvexStructureData.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FConvexStructureData() |
Chaos/ConvexStructureData.h |
Classes
| Name | Remarks |
|---|---|
| FStructureData |
Enums
Public
| Name | Remarks |
|---|---|
| EIndexType | Note: this is serialized (do not change order without adding a new ObjectVersion and legacy load path) |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FConvexStructureDataLarge | FConvexHalfEdgeStructureDataS32 | Chaos/ConvexStructureData.h | |
| FConvexStructureDataMedium | FConvexHalfEdgeStructureDataS16 | Chaos/ConvexStructureData.h | |
| FConvexStructureDataSmall | FConvexHalfEdgeStructureDataU8 | Chaos/ConvexStructureData.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Data | FStructureData | Chaos/ConvexStructureData.h | ||
| IndexType | EIndexType | The index type we require for the structure data. | Chaos/ConvexStructureData.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CopyFrom
(
const FConvexStructureData& Other |
Chaos/ConvexStructureData.h | ||
const FConvexStructureDataLarge & DataL () |
Cats the inner data container to the correct index size Do not use - only public for unit tests | Chaos/ConvexStructureData.h | |
const FConvexStructureDataMedium & DataM () |
Chaos/ConvexStructureData.h | ||
const FConvexStructureDataSmall & DataS () |
Chaos/ConvexStructureData.h | ||
int32 FindVertexPlanes
(
int32 VertexIndex, |
Chaos/ConvexStructureData.h | ||
int32 GetEdgePlane
(
int32 EdgeIndex, |
Chaos/ConvexStructureData.h | ||
int32 GetEdgeVertex
(
int32 EdgeIndex, |
Chaos/ConvexStructureData.h | ||
void GetHalfEdges
(
int32 EdgeIndex, |
Chaos/ConvexStructureData.h | ||
EIndexType GetIndexType() |
Chaos/ConvexStructureData.h | ||
int32 GetPlaneHalfEdge
(
int32 PlaneIndex, |
Chaos/ConvexStructureData.h | ||
int32 GetPlaneVertex
(
int32 PlaneIndex, |
Get the vertex index (in the outer convex container) of one of the vertices making up the corners of the specified face. | Chaos/ConvexStructureData.h | |
int32 GetVertexPlanes3
(
int32 VertexIndex, |
Chaos/ConvexStructureData.h | ||
bool IsValid() |
Chaos/ConvexStructureData.h | ||
int32 NumEdges() |
Chaos/ConvexStructureData.h | ||
int32 NumHalfEdges() |
Chaos/ConvexStructureData.h | ||
int32 NumPlaneVertices
(
int32 PlaneIndex |
The number of vertices that make up the corners of the specified face. | Chaos/ConvexStructureData.h | |
void Serialize
(
FArchive& Ar |
Chaos/ConvexStructureData.h | ||
| Initialize the structure data from the set of vertices for each face of the convex. | Chaos/ConvexStructureData.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FConvexStructureData & operator=
(
const FConvexStructureData& Other |
Chaos/ConvexStructureData.h | ||
FConvexStructureData & operator=
(
FConvexStructureData&& Other |
Chaos/ConvexStructureData.h |