Files
Nuake/NuakeNet/Source/Environment.cs
2025-01-31 18:04:43 -05:00

32 lines
702 B
C#

using Coral.Managed.Interop;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Nuake.Net
{
public class Environment
{
internal static unsafe delegate*<float, void> SetFocusDistanceIcall;
internal static unsafe delegate*<float> GetFocusDistanceIcall;
public static void SetFocusDistance(float distance)
{
unsafe
{
SetFocusDistanceIcall(distance);
}
}
public static float GetFocusDistance()
{
unsafe
{
return GetFocusDistanceIcall();
}
}
}
}