internal static void Preload(IntPtr thisPtr) { if (_PreloadFunc == null) { _PreloadFunc = (_Preload)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_SimDataBlock_Preload"), typeof(_Preload)); } _PreloadFunc(thisPtr); }
internal static _Preload Preload() { if (_PreloadFunc == null) { _PreloadFunc = (_Preload)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "fnPhysicsDebrisData_preload"), typeof(_Preload)); } return(_PreloadFunc); }
internal static _Preload Preload() { if (_PreloadFunc == null) { _PreloadFunc = (_Preload)Marshal.GetDelegateForFunctionPointer( NativeLibrary.GetExport( Torque3D.Torque3DLibHandle, "fnPhysicsDebrisData_preload"), typeof(_Preload)); } return(_PreloadFunc); }