示例#1
0
            internal static _SetMode SetMode()
            {
                if (_SetModeFunc == null)
                {
                    _SetModeFunc =
                        (_SetMode)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiNavEditorCtrl_setMode"), typeof(_SetMode));
                }

                return(_SetModeFunc);
            }
示例#2
0
            internal static _SetMode SetMode()
            {
                if (_SetModeFunc == null)
                {
                    _SetModeFunc =
                        (_SetMode)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiDecalEditorCtrl_setMode"), typeof(_SetMode));
                }

                return(_SetModeFunc);
            }