Navigation
Unreal Engine C++ API Reference > Runtime > Chaos > Chaos
References
Module | Chaos |
Header | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/ConvexStructureData.h |
Include | #include "Chaos/ConvexStructureData.h" |
Syntax
class FConvexStructureData
Remarks
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.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
|||
![]() |
FConvexStructureData
(
const FConvexStructureData& Other |
||
![]() |
FConvexStructureData
(
FConvexStructureData&& Other |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | CopyFrom
(
const FConvexStructureData& Other |
|
![]() ![]() |
const FConvexStructureDataLarge & | DataL () |
Cats the inner data container to the correct index size Do not use - only public for unit tests |
![]() ![]() |
const FConvexStructureDataMedium & | DataM () |
|
![]() ![]() |
const FConvexStructureDataSmall & | DataS () |
|
![]() ![]() |
int32 | FindVertexPlanes
(
int32 VertexIndex, |
|
![]() ![]() |
int32 | GetEdgePlane
(
int32 EdgeIndex, |
|
![]() ![]() |
int32 | GetEdgeVertex
(
int32 EdgeIndex, |
|
![]() ![]() |
EIndexType | GetIndexType () |
|
![]() ![]() |
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. |
![]() ![]() |
int32 | GetVertexPlanes3
(
int32 VertexIndex, |
|
![]() ![]() |
bool | IsValid () |
|
![]() ![]() |
int32 | NumEdges () |
|
![]() ![]() |
int32 | NumHalfEdges () |
|
![]() ![]() |
int32 | NumPlaneVertices
(
int32 PlaneIndex |
The number of vertices that make up the corners of the specified face. |
![]() |
void | ||
![]() |
bool | SetPlaneVertices
(
const TArray< TArray< int32 > >& InPlaneVertices, |
Initialize the structure data from the set of vertices for each face of the convex. |
Operators
Type | Name | Description | |
---|---|---|---|
![]() |
FConvexStructureData & | operator=
(
const FConvexStructureData& Other |
|
![]() |
FConvexStructureData & | operator=
(
FConvexStructureData&& Other |
Enums
Type | Name | Description | |
---|---|---|---|
![]() |
EIndexType | Note: this is serialized (do not change order without adding a new ObjectVersion and legacy load path) |
Typedefs
Name | Description |
---|---|
FConvexStructureDataLarge | |
FConvexStructureDataMedium | |
FConvexStructureDataSmall |