Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


FromIntPtr(nint)

Converts a pointer to a function pointer.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Method
  • Namespace: Unity.Burst
  • Assembly: UnityEngine.BurstModule

FromIntPtr(IntPtr)

Warning
Deprecated. This method will be removed in a future version of Burst
IFunctionPointer FromIntPtr(nint ptr)

Parameters

The native pointer.

Returns

Type

Description

IFunctionPointerAn instance of this interface.