class MAGES::MeshDeformations::Editor::XPBDLayerField

Editor control for picking an XPBD collision layer. Presents a dropdown of the named layers (loaded from XPBDSettings) alongside a small numeric field. Both views are kept in sync and the control exposes the same INotifyValueChanged<T> surface it always has, so the actor inspectors that use it need no changes.

class XPBDLayerField:
    public VisualElement,
    public INotifyValueChanged< uint >
{
public:
    // properties

    uint value;

    // methods

    XPBDLayerField();
    XPBDLayerField(string label);
    void SetValueWithoutNotify(uint newValue);
};