From a4f7150682661c705cf81fb792ae2a5000fc2eda Mon Sep 17 00:00:00 2001 From: Masusder <59669685+Masusder@users.noreply.github.com> Date: Sun, 8 Nov 2026 15:07:16 +0100 Subject: [PATCH] Groom asset --- FModel/Enums.cs | 1 + FModel/ViewModels/GameFileViewModel.cs | 2 ++ FModel/Views/Resources/Converters/FileToGeometryConverter.cs | 1 + 3 files changed, 4 insertions(+) diff --git a/FModel/Enums.cs b/FModel/Enums.cs index 5775c4a6..9b5a79b7 100644 --- a/FModel/Enums.cs +++ b/FModel/Enums.cs @@ -133,6 +133,7 @@ public enum EAssetCategory : uint NaniteDisplacedMesh = Mesh + 4, GeometryCollection = Mesh + 5, ChaosClothAsset = Mesh + 6, + GroomAsset = Mesh + 7, Texture = AssetCategoryExtensions.CategoryBase + (3 << 16), AnimatedTexture = Texture + 1, Materials = AssetCategoryExtensions.CategoryBase + (4 << 16), diff --git a/FModel/ViewModels/GameFileViewModel.cs b/FModel/ViewModels/GameFileViewModel.cs index 11838672..fb30ae0c 100644 --- a/FModel/ViewModels/GameFileViewModel.cs +++ b/FModel/ViewModels/GameFileViewModel.cs @@ -36,6 +36,7 @@ using CUE4Parse.UE4.Assets.Exports.Fmod; using CUE4Parse.UE4.Assets.Exports.FMod; using CUE4Parse.UE4.Assets.Exports.Foliage; using CUE4Parse.UE4.Assets.Exports.GeometryCollection; +using CUE4Parse.UE4.Assets.Exports.HairStrands; using CUE4Parse.UE4.Assets.Exports.Houdini; using CUE4Parse.UE4.Assets.Exports.Internationalization; using CUE4Parse.UE4.Assets.Exports.Paper2D; @@ -262,6 +263,7 @@ public class GameFileViewModel(GameFile asset) : ViewModel UCustomizableObject => (EAssetCategory.CustomizableObject, EBulkType.None), UNaniteDisplacedMesh => (EAssetCategory.NaniteDisplacedMesh, EBulkType.None), UGeometryCollection => (EAssetCategory.GeometryCollection, EBulkType.Meshes), + UGroomAsset or UGroomBindingAsset => (EAssetCategory.GroomAsset, EBulkType.None), UHoudiniAsset => (EAssetCategory.Data, EBulkType.None), diff --git a/FModel/Views/Resources/Converters/FileToGeometryConverter.cs b/FModel/Views/Resources/Converters/FileToGeometryConverter.cs index dc6e0535..b4e1f525 100644 --- a/FModel/Views/Resources/Converters/FileToGeometryConverter.cs +++ b/FModel/Views/Resources/Converters/FileToGeometryConverter.cs @@ -36,6 +36,7 @@ public class FileToGeometryConverter : IMultiValueConverter EAssetCategory.CustomizableObject => ("StaticMeshIconAlt", "CustomizableObjectBrush"), EAssetCategory.NaniteDisplacedMesh => ("StaticMeshIconAlt", "NaniteDisplacedMeshBrush"), EAssetCategory.GeometryCollection => ("GeometryCollectionIcon", "NeutralBrush"), + EAssetCategory.GroomAsset => ("GroomAssetIcon", "GroomAssetBrush"), EAssetCategory.Material => ("MaterialIcon", "MaterialBrush"), EAssetCategory.MaterialEditorData => ("MaterialIcon", "MaterialEditorBrush"),