FConvexStructureData

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.

Windows
MacOS
Linux

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

Destructors

Name Description

Public function

~FConvexStructureData()

Functions

Name Description

Public function Const

const FConve...

 

DataL()

Cats the inner data container to the correct index size Do not use - only public for unit tests

Public function Const

const FConve...

 

DataM()

Public function Const

const FConve...

 

DataS()

Public function Const

int32

 

FindVertexPlanes

(
    int32 VertexIndex,
    int32* VertexPlanes,
    int32 MaxVertexPlanes
)

Public function Const

int32

 

GetEdgePlane

(
    int32 EdgeIndex,
    int32 EdgePlaneIndex
)

Public function Const

int32

 

GetEdgeVertex

(
    int32 EdgeIndex,
    int32 EdgeVertexIndex
)

Public function Const

EIndexType

 

GetIndexType()

Public function Const

int32

 

GetPlaneVertex

(
    int32 PlaneIndex,
    int32 PlaneVertexIndex
)

Get the vertex index (in the outer convex container) of one of the vertices making up the corners of the specified face.

Public function Const

bool

 

IsValid()

Public function Const

int32

 

NumEdges()

Public function Const

int32

 

NumPlaneVertices

(
    int32 PlaneIndex
)

The number of vertices that make up the corners of the specified face.

Public function

void

 

Serialize

(
    FArchive& Ar
)

Public function

void

 

SetPlaneVertices

(
    const TArray< TArray< int32 >>& In...,
    int32 NumVerts
)

Initialize the structure data from the set of vertices for each face of the convex.

Operators

Name Description

Public function

FConvexStruc...

 

operator=

(
    FConvexStructureData&& Other
)

Public function

FConvexStruc...

 

operator=

(
    const FConvexStructureData& Other
)

Enums

Name

Description

Public enum

EIndexType

Typedefs

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss