mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-04 11:35:06 +03:00
32 lines
702 B
C#
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();
|
|
}
|
|
}
|
|
}
|
|
}
|