using System.Runtime.InteropServices;
namespace SabreTools.Data.Models.BSP
{
///
/// The physcollide lump (Lump 29) contains physics data for the world.
///
///
[StructLayout(LayoutKind.Sequential)]
public sealed class PhysModel
{
///
/// Perhaps the index of the model to which this physics model applies?
///
public int ModelIndex;
///
/// Total size of the collision data sections
///
public int DataSize;
///
/// Size of the text section
///
public int KeydataSize;
///
/// Number of collision data sections
///
public int SolidCount;
///
/// Collision data of length
///
public PhysSolid[] Solids = [];
///
/// Key data of size
///
public byte[] TextData = [];
}
}