예제 #1
0
            internal static _SetLoweredBitmap SetLoweredBitmap()
            {
                if (_SetLoweredBitmapFunc == null)
                {
                    _SetLoweredBitmapFunc =
                        (_SetLoweredBitmap)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiToolboxButtonCtrl_setLoweredBitmap"), typeof(_SetLoweredBitmap));
                }

                return(_SetLoweredBitmapFunc);
            }
예제 #2
0
            internal static _SetLoweredBitmap SetLoweredBitmap()
            {
                if (_SetLoweredBitmapFunc == null)
                {
                    _SetLoweredBitmapFunc =
                        (_SetLoweredBitmap)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiToolboxButtonCtrl_setLoweredBitmap"), typeof(_SetLoweredBitmap));
                }

                return(_SetLoweredBitmapFunc);
            }