using System; using System.Numerics; using System.Threading.Tasks; namespace NamedPipes; [Serializable] public struct Frame(Vector3 translation, Quaternion orientation) { public Vector3 Translation => translation; public Quaternion Orientation => orientation; } [Serializable] public class DebugObject { public string? Type { get; set; } public byte[]? Data { get; set; } } public interface IDebugVisualizer { Task SetDebugObjectAsync(DebugObject debugObject); Task SetMessageAsync(string message); }