Navigation
API > API/Plugins > API/Plugins/DynamicMesh
FSimpleShapeSet stores a set of simple geometry shapes useful for things like collision detection/etc. Various functions set-processing operations are supported.
| Name | FSimpleShapeSet3d |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/ShapeApproximation/SimpleShapeSet3.h |
| Include Path | #include "ShapeApproximation/SimpleShapeSet3.h" |
Syntax
struct FSimpleShapeSet3d
Structs
| Name | Remarks |
|---|---|
| FMergeShapesSettings |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Boxes | TArray< FBoxShape3d > | ShapeApproximation/SimpleShapeSet3.h | ||
| Capsules | TArray< UE::Geometry::FCapsuleShape3d > | ShapeApproximation/SimpleShapeSet3.h | ||
| Convexes | TArray< FConvexShape3d > | ShapeApproximation/SimpleShapeSet3.h | ||
| LevelSets | TArray< FLevelSetShape3d > | ShapeApproximation/SimpleShapeSet3.h | ||
| Spheres | TArray< FSphereShape3d > | ShapeApproximation/SimpleShapeSet3.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Append
(
const FSimpleShapeSet3d& OtherShapeSet |
Append elements of another shape set | ShapeApproximation/SimpleShapeSet3.h | |
void Append
(
const FSimpleShapeSet3d& OtherShapeSet, |
Append elements of another shape set with given transform applied | ShapeApproximation/SimpleShapeSet3.h | |
void Append
(
const FSimpleShapeSet3d& OtherShapeSet, |
Append elements of another shape set with given transforms applied | ShapeApproximation/SimpleShapeSet3.h | |
void Append
(
const FSimpleShapeSet3d& OtherShapeSet, |
Append elements of another shape set with given transforms applied | ShapeApproximation/SimpleShapeSet3.h | |
void ApplyTransform
(
const FTransform3d& Transform |
Transform shape elements. | ShapeApproximation/SimpleShapeSet3.h | |
void FilterByVolume
(
int32 MaximumCount |
Sort the elements by volume and then discard all but the largest MaximumCount elements | ShapeApproximation/SimpleShapeSet3.h | |
bool MergeShapes
(
int32 MergeAboveCount, |
Attempt to reduce the number of simple collision shapes by merging neighboring shapes, while still optionally protecting negative space. | ShapeApproximation/SimpleShapeSet3.h | |
void RemoveContainedGeometry() |
Remove any of the elements that are fully contained in larger elements | ShapeApproximation/SimpleShapeSet3.h | |
int32 TotalElementsNum() |
ShapeApproximation/SimpleShapeSet3.h |