internal static _SetSelectorPos SetSelectorPos()
            {
                if (_SetSelectorPosFunc == null)
                {
                    _SetSelectorPosFunc =
                        (_SetSelectorPos)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiColorPickerCtrl_setSelectorPos"), typeof(_SetSelectorPos));
                }

                return(_SetSelectorPosFunc);
            }
Пример #2
0
            internal static _SetSelectorPos SetSelectorPos()
            {
                if (_SetSelectorPosFunc == null)
                {
                    _SetSelectorPosFunc =
                        (_SetSelectorPos)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiColorPickerCtrl_setSelectorPos"), typeof(_SetSelectorPos));
                }

                return(_SetSelectorPosFunc);
            }