Added Ufbx

This commit is contained in:
2026-03-14 18:29:18 +09:00
parent 254b08bc81
commit cce1cf7256
372 changed files with 11672 additions and 154 deletions

View File

@@ -34,7 +34,7 @@ public class RenderExtractionSystem : ISystem
var meshInstances = chunk.GetComponentData<MeshInstance>();
var localToWorlds = chunk.GetComponentData<LocalToWorld>();
for (int i = 0; i < chunk.Count; i++)
for (var i = 0; i < chunk.Count; i++)
{
ref readonly var meshInstance = ref meshInstances[i];
ref readonly var localToWorld = ref localToWorlds[i];
@@ -43,7 +43,7 @@ public class RenderExtractionSystem : ISystem
{
localToWorld = localToWorld.matrix,
mesh = meshInstance.mesh,
materialPaletteIndex = meshInstance.materialPaletteIndex,
materialPalette = meshInstance.materialPalette,
renderingLayerMask = meshInstance.renderingLayerMask,
}, 0);