Example #1
0
            internal static _Restore Restore()
            {
                if (_RestoreFunc == null)
                {
                    _RestoreFunc =
                        (_Restore)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnPhysicsShape_restore"), typeof(_Restore));
                }

                return(_RestoreFunc);
            }
Example #2
0
            internal static _Restore Restore()
            {
                if (_RestoreFunc == null)
                {
                    _RestoreFunc =
                        (_Restore)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnPhysicsShape_restore"), typeof(_Restore));
                }

                return(_RestoreFunc);
            }