Exemple #1
0
            internal static _IsMiddleMouseDown IsMiddleMouseDown()
            {
                if (_IsMiddleMouseDownFunc == null)
                {
                    _IsMiddleMouseDownFunc =
                        (_IsMiddleMouseDown)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnEditTSCtrl_isMiddleMouseDown"), typeof(_IsMiddleMouseDown));
                }

                return(_IsMiddleMouseDownFunc);
            }
            internal static _IsMiddleMouseDown IsMiddleMouseDown()
            {
                if (_IsMiddleMouseDownFunc == null)
                {
                    _IsMiddleMouseDownFunc =
                        (_IsMiddleMouseDown)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnEditTSCtrl_isMiddleMouseDown"), typeof(_IsMiddleMouseDown));
                }

                return(_IsMiddleMouseDownFunc);
            }