Editor/Core/Output/VmdlAttachment.cs

An immutable record type describing a VMDL attachment, holding a name, bone name, position and rotation. Used by the weapon importer's editor output code as a data model.

#nullable enable annotations

using System.Numerics;
using WeaponImporter.EditorTools.Core.Maths;

namespace WeaponImporter.EditorTools.Core.Output;

using Vector3 = System.Numerics.Vector3;

public sealed record VmdlAttachment(string Name, string Bone, Vector3 Position, Quaternion Rotation);