Пример #1
0
            internal static _IsValidSelection IsValidSelection()
            {
                if (_IsValidSelectionFunc == null)
                {
                    _IsValidSelectionFunc =
                        (_IsValidSelection)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnVPathEditor_isValidSelection"), typeof(_IsValidSelection));
                }

                return(_IsValidSelectionFunc);
            }
Пример #2
0
            internal static _IsValidSelection IsValidSelection()
            {
                if (_IsValidSelectionFunc == null)
                {
                    _IsValidSelectionFunc =
                        (_IsValidSelection)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnVPathEditor_isValidSelection"), typeof(_IsValidSelection));
                }

                return(_IsValidSelectionFunc);
            }