Beispiel #1
0
            internal static _PasteSelection PasteSelection()
            {
                if (_PasteSelectionFunc == null)
                {
                    _PasteSelectionFunc =
                        (_PasteSelection)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnForestSelectionTool_pasteSelection"), typeof(_PasteSelection));
                }

                return(_PasteSelectionFunc);
            }
            internal static _PasteSelection PasteSelection()
            {
                if (_PasteSelectionFunc == null)
                {
                    _PasteSelectionFunc =
                        (_PasteSelection)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnForestSelectionTool_pasteSelection"), typeof(_PasteSelection));
                }

                return(_PasteSelectionFunc);
            }