class MAGES::MeshDeformations::TearActionData::CutGroup

Overview

A named set of tetrahedral volume constraints (a “cut”) authored on the target. More…

class CutGroup
{
public:
    // fields

    string Description = string.Empty;
    int[] VolumeConstraints = new int[0];
};

Detailed Documentation

A named set of tetrahedral volume constraints (a “cut”) authored on the target.

Owned by TearActionData. This intentionally duplicates the shape of VolumeConstraintsDestructionDetector.ObservedVolumeConstraintGroup instead of reusing it, so the detector type can diverge without breaking authored Cut Action data. The runtime-only concerns (the UnityEvent and per-constraint “Invoked” flag) live exclusively on the converted detector group built at runtime, never here.

Fields

string Description = string.Empty

Author-facing label for this cut.

int[] VolumeConstraints = new int[0]

The volume-constraint (tetrahedron) indices that make up this cut.