Depth of field no unit accurate

This commit is contained in:
antopilo
2024-12-01 13:06:13 -05:00
parent 15051a4eb7
commit b6c3220797
6 changed files with 55 additions and 2 deletions

View File

@@ -0,0 +1,31 @@
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();
}
}
}
}