Пример #1
0
            internal static _GetRowOffset GetRowOffset()
            {
                if (_GetRowOffsetFunc == null)
                {
                    _GetRowOffsetFunc =
                        (_GetRowOffset)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiFrameSetCtrl_getRowOffset"), typeof(_GetRowOffset));
                }

                return(_GetRowOffsetFunc);
            }
Пример #2
0
            internal static _GetRowOffset GetRowOffset()
            {
                if (_GetRowOffsetFunc == null)
                {
                    _GetRowOffsetFunc =
                        (_GetRowOffset)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiFrameSetCtrl_getRowOffset"), typeof(_GetRowOffset));
                }

                return(_GetRowOffsetFunc);
            }