The Morph class acts as a minimal adapter for processing Morph data within the Valve Resource Format VRF exporter in the editor. It holds references to an array of FlexController objects which define model deformation targets.
// Minimal extraction-only adapters for the vendored VRF model exporter (MIT).
#nullable enable
using System;
using System.Collections.Generic;
using HumanoidRetargeter.EditorTools.Embedded.ValveResourceFormat.ResourceTypes;
namespace HumanoidRetargeter.EditorTools.Embedded.ValveResourceFormat.ResourceTypes;
// Model/animation export only needs controller definitions from MRPH. The upstream
// DMX mesh exporter does not export vertex morph deltas. Keep source targets when possible.
public sealed class Morph(BlockType type) : KeyValuesOrNTRO(type, "MorphSetData_t")
{
public ModelFlex.FlexController[] FlexControllers => Array.Empty<ModelFlex.FlexController>();
}