Пример #1
0
            internal static _AddAutoPlot AddAutoPlot()
            {
                if (_AddAutoPlotFunc == null)
                {
                    _AddAutoPlotFunc =
                        (_AddAutoPlot)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiGraphCtrl_addAutoPlot"), typeof(_AddAutoPlot));
                }

                return(_AddAutoPlotFunc);
            }
Пример #2
0
            internal static _AddAutoPlot AddAutoPlot()
            {
                if (_AddAutoPlotFunc == null)
                {
                    _AddAutoPlotFunc =
                        (_AddAutoPlot)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiGraphCtrl_addAutoPlot"), typeof(_AddAutoPlot));
                }

                return(_AddAutoPlotFunc);
            }