コード例 #1
0
            internal static _RecenterSelection RecenterSelection()
            {
                if (_RecenterSelectionFunc == null)
                {
                    _RecenterSelectionFunc =
                        (_RecenterSelection)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiConvexEditorCtrl_recenterSelection"), typeof(_RecenterSelection));
                }

                return(_RecenterSelectionFunc);
            }
コード例 #2
0
            internal static _RecenterSelection RecenterSelection()
            {
                if (_RecenterSelectionFunc == null)
                {
                    _RecenterSelectionFunc =
                        (_RecenterSelection)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiConvexEditorCtrl_recenterSelection"), typeof(_RecenterSelection));
                }

                return(_RecenterSelectionFunc);
            }