class

FFractureMethods

Module
Destruction
Header
#include "Destruction/FractureMethods.h"
Namespace
Mowo

Properties

TypeNameDescription
static constexpr uint32_tkMaxPiecesThe most pieces a bake may hold (the piece payload's decode cap). Default 4096.

Public functions

ReturnsNameDescription
const char*MethodName
boolMethodFromName
const char*BondName
boolBondFromName
std::vector<FFracturePiece>FractureBoxCarves the box of halfExtents (centred on the origin) by the method.
std::vector<FFracturePiece>FractureVolumeThe same over any convex volume given as outward-wound face polygons.
uint32_tEstimatePiecesHow many pieces the settings carve from that box, before carving: exact for Slice and Brick (the cells the pattern lays over the box), the requested count for Uniform and Clustered, an upper bound for Radial (a ring outside the volume carves nothing) and Planar (the most cells n planes can make).

Function details

MethodName

C++
static const char* MethodName(EFractureMethod method)

MethodFromName

C++
static bool MethodFromName(const std::string& name, EFractureMethod& out)

BondName

C++
static const char* BondName(EFractureBrickBond bond)

BondFromName

C++
static bool BondFromName(const std::string& name, EFractureBrickBond& out)

FractureBox

C++
static std::vector<FFracturePiece> FractureBox(const Vec3& halfExtents, const FFractureMethodSettings& settings)

Carves the box of halfExtents (centred on the origin) by the method. Uniform carves exactly what FVoronoiFracture::FractureBox does for the same count and seed. Empty when the settings would exceed kMaxPieces.

FractureVolume

C++
static std::vector<FFracturePiece> FractureVolume(const std::vector<std::vector<Vec3>>& faces, const FFractureMethodSettings& settings)

The same over any convex volume given as outward-wound face polygons.

EstimatePieces

C++
static uint32_t EstimatePieces(const Vec3& halfExtents, const FFractureMethodSettings& settings)

How many pieces the settings carve from that box, before carving: exact for Slice and Brick (the cells the pattern lays over the box), the requested count for Uniform and Clustered, an upper bound for Radial (a ring outside the volume carves nothing) and Planar (the most cells n planes can make).

Generated from Destruction/FractureMethods.h via destruction.json · Oct 26, 2026Version 1.0.0