23 lines
541 B
C#
23 lines
541 B
C#
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<bool> SetDebugObjectAsync(DebugObject debugObject);
|
|
Task<bool> SetMessageAsync(string message);
|
|
}
|