internal static _UpdateColor UpdateColor()
            {
                if (_UpdateColorFunc == null)
                {
                    _UpdateColorFunc =
                        (_UpdateColor)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiColorPickerCtrl_updateColor"), typeof(_UpdateColor));
                }

                return(_UpdateColorFunc);
            }
Beispiel #2
0
            internal static _UpdateColor UpdateColor()
            {
                if (_UpdateColorFunc == null)
                {
                    _UpdateColorFunc =
                        (_UpdateColor)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiColorPickerCtrl_updateColor"), typeof(_UpdateColor));
                }

                return(_UpdateColorFunc);
            }