Move mesh code to shared base class and reordanize files

This commit is contained in:
Wojtek Figat
2024-12-16 20:07:42 +01:00
parent b3f37ca041
commit 59b4755379
13 changed files with 507 additions and 625 deletions

View File

@@ -0,0 +1,22 @@
// Copyright (c) 2012-2024 Wojciech Figat. All rights reserved.
namespace FlaxEngine
{
partial class Model
{
/// <summary>
/// The maximum amount of levels of detail for the model.
/// </summary>
public const int MaxLODs = 6;
/// <summary>
/// The maximum amount of meshes per model LOD.
/// </summary>
public const int MaxMeshes = 4096;
/// <summary>
/// The maximum allowed amount of material slots per model resource
/// </summary>
public const int MaxMaterialSlots = 4096;
}
}