![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <Solidify.h>
Public Member Functions | |
| TImplicitSolidify (const TriangleMeshType *Source=nullptr, TMeshAABBTree3< TriangleMeshType > *SourceSpatial=nullptr, TFastWindingTree< TriangleMeshType > *SourceWinding=nullptr) | |
| void | SetCellSizeAndExtendBounds (FAxisAlignedBox3d Bounds, double ExtendBoundsIn, int TargetOutputVoxelCount) |
| bool | Validate () |
| const FMeshShapeGenerator & | Generate () |
Public Attributes | |
| const TriangleMeshType * | Source = nullptr |
| TMeshAABBTree3< TriangleMeshType > * | SourceSpatial = nullptr |
| TFastWindingTree< TriangleMeshType > * | SourceWinding = nullptr |
| double | WindingThreshold = .5 |
| bool | bUseCustomBounds = false |
| FAxisAlignedBox3d | CustomBounds |
| double | ExtendBounds = 1 |
| bool | bSolidAtBoundaries = true |
| int | SurfaceSearchSteps = 4 |
| double | MeshCellSize = 1.0 |
| TFunction< bool(void)> | CancelF |
Protected Attributes | |
| FMarchingCubes | MarchingCubes |
Use marching cubes to remesh a triangle mesh to a solid surface Uses fast winding number to decide what is inside vs outside
|
inline |
|
inline |
|
inline |
Set cell size to hit the target voxel count along the max dimension of the bounds
|
inline |
| bool UE::Geometry::TImplicitSolidify< TriangleMeshType >::bSolidAtBoundaries = true |
What to do if the surface extends outside the marching cubes bounds – if true, puts a solid surface at the boundary
| bool UE::Geometry::TImplicitSolidify< TriangleMeshType >::bUseCustomBounds = false |
Whether to use a custom bounding box instead of the input mesh bounds to define the domain to solidify
| TFunction<bool(void)> UE::Geometry::TImplicitSolidify< TriangleMeshType >::CancelF |
if this function returns true, we should abort calculation
| FAxisAlignedBox3d UE::Geometry::TImplicitSolidify< TriangleMeshType >::CustomBounds |
Custom bounds to use, if bUseCustomBounds == true; ignored otherwise
| double UE::Geometry::TImplicitSolidify< TriangleMeshType >::ExtendBounds = 1 |
How much to extend bounds considered by marching cubes outside the original surface bounds. Ignored if bUseCustomBounds == true.
|
protected |
| double UE::Geometry::TImplicitSolidify< TriangleMeshType >::MeshCellSize = 1.0 |
size of the cells used when meshing the output (marching cubes' cube size)
| const TriangleMeshType* UE::Geometry::TImplicitSolidify< TriangleMeshType >::Source = nullptr |
Inputs
| TMeshAABBTree3<TriangleMeshType>* UE::Geometry::TImplicitSolidify< TriangleMeshType >::SourceSpatial = nullptr |
| TFastWindingTree<TriangleMeshType>* UE::Geometry::TImplicitSolidify< TriangleMeshType >::SourceWinding = nullptr |
| int UE::Geometry::TImplicitSolidify< TriangleMeshType >::SurfaceSearchSteps = 4 |
How many binary search steps to do when placing surface at boundary
| double UE::Geometry::TImplicitSolidify< TriangleMeshType >::WindingThreshold = .5 |
Inside/outside winding number threshold