Ejemplo n.º 1
0
            internal static void setMode(IntPtr thisPtr, [MarshalAs(UnmanagedType.LPWStr)] string newMode)
            {
                if (_setModeFunc == null)
                {
                    _setModeFunc =
                        (_setMode)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle,
                                                                                                             "fn_GuiDecalEditorCtrl_setMode"), typeof(_setMode));
                }

                _setModeFunc(thisPtr, newMode);
            }
Ejemplo n.º 2
0
            internal static void setMode(IntPtr thisPtr, int argc, string[] argv)
            {
                if (_setModeFunc == null)
                {
                    _setModeFunc =
                        (_setMode)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle,
                                                                                                             "fn_GuiNavEditorCtrl_setMode"), typeof(_setMode));
                }

                _setModeFunc(thisPtr, argc, argv);
            }