internal static _Sort Sort() { if (_SortFunc == null) { _SortFunc = (_Sort)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "fnGuiPopUpMenuCtrl_sort"), typeof(_Sort)); } return _SortFunc; }
internal static _Sort Sort() { if (_SortFunc == null) { _SortFunc = (_Sort)Marshal.GetDelegateForFunctionPointer( NativeLibrary.GetExport( Torque3D.Torque3DLibHandle, "fnGuiPopUpMenuCtrl_sort"), typeof(_Sort)); } return(_SortFunc); }
// update the sorting method of this container, effective immedietly // public void set_sort(_Sort _sort_function) { sort = _sort_function; _update_items(); }