feat: hull mesh

This commit is contained in:
tresabhi committed 2025-02-02 00:25:47 -06:00
1 parent 168a955380
commit 8b268cb647
7 files changed
+312 -73

No files matched your search

@@ -0,0 +1,21 @@
using CUE4Parse.UE4.Assets.Exports.Engine;
using CUE4Parse.UE4.Assets.Objects;
namespace BlitzKit.CLI.Models
{
public class MappedUDataTable : MappedUObject
{
readonly Dictionary<string, FStructFallback> StructFallbacks = [];
public MappedUDataTable(UDataTable table)
: base(table.Properties)
{
foreach (var row in table.RowMap)
{
StructFallbacks.Add(row.Key.Text, row.Value);
}
}
public MappedUObject GetRow(string name) => new(StructFallbacks[name].Properties);
}
}