2025-01-16 07:20:32 +00:00
|
|
|
using System.Collections;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using Godot;
|
|
|
|
|
|
|
|
namespace Rokojori
|
|
|
|
{
|
|
|
|
[Tool]
|
|
|
|
[GlobalClass]
|
|
|
|
public partial class FrameSmoothingTableGenerator:Node
|
|
|
|
{
|
|
|
|
[Export]
|
|
|
|
public string path;
|
|
|
|
|
2025-05-21 20:44:28 +00:00
|
|
|
[ExportToolButton( "Compute")]
|
|
|
|
public Callable ComputeButton => Callable.From( Compute );
|
2025-01-16 07:20:32 +00:00
|
|
|
|
2025-05-21 20:44:28 +00:00
|
|
|
async void Compute()
|
|
|
|
{
|
|
|
|
await FrameSmoothingTable.ComputeAndSaveTable( this, path );
|
|
|
|
}
|
2025-01-16 07:20:32 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
}
|