Exemplo n.º 1
0
            internal static _GetSelectionCount GetSelectionCount()
            {
                if (_GetSelectionCountFunc == null)
                {
                    _GetSelectionCountFunc =
                        (_GetSelectionCount)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnForestSelectionTool_getSelectionCount"), typeof(_GetSelectionCount));
                }

                return(_GetSelectionCountFunc);
            }
Exemplo n.º 2
0
            internal static _GetSelectionCount GetSelectionCount()
            {
                if (_GetSelectionCountFunc == null)
                {
                    _GetSelectionCountFunc =
                        (_GetSelectionCount)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiDecalEditorCtrl_getSelectionCount"), typeof(_GetSelectionCount));
                }

                return(_GetSelectionCountFunc);
            }