TransformSnapshot: add ToString for easier debugging

This commit is contained in:
mischa 2023-11-01 10:20:38 +01:00
parent 00b9a96d3d
commit a6304ded73

View File

@ -61,5 +61,8 @@ public static TransformSnapshot Interpolate(TransformSnapshot from, TransformSna
Vector3.LerpUnclamped(from.scale, to.scale, (float)t)
);
}
public override string ToString() =>
$"TransformSnapshot(remoteTime={remoteTime:F2}, localTime={localTime:F2}, pos={position}, rot={rotation}, scale={scale})";
}
}