Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/ShapeApproximation
References
| Module | DynamicMesh |
| Header | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/ShapeApproximation/SimpleShapeSet3.h |
| Include | #include "ShapeApproximation/SimpleShapeSet3.h" |
Syntax
struct FSimpleShapeSet3d
Remarks
FSimpleShapeSet stores a set of simple geometry shapes useful for things like collision detection/etc. Various functions set-processing operations are supported.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FBoxShape3d > | Boxes | ||
| TArray< UE::Geometry::FCapsuleShape3d > | Capsules | ||
| TArray< FConvexShape3d > | Convexes | ||
| TArray< FLevelSetShape3d > | LevelSets | ||
| TArray< FSphereShape3d > | Spheres |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Append
(
const FSimpleShapeSet3d& OtherShapeSet |
Append elements of another shape set | |
| void | Append
(
const FSimpleShapeSet3d& OtherShapeSet, |
Append elements of another shape set with given transform applied | |
| void | Append
(
const FSimpleShapeSet3d& OtherShapeSet, |
Append elements of another shape set with given transforms applied | |
| void | Append
(
const FSimpleShapeSet3d& OtherShapeSet, |
Append elements of another shape set with given transforms applied | |
| void | ApplyTransform
(
const FTransform3d& Transform |
Transform shape elements. | |
| void | FilterByVolume
(
int32 MaximumCount |
Sort the elements by volume and then discard all but the largest MaximumCount elements | |
| void | Remove any of the elements that are fully contained in larger elements | ||
| int32 |