Example #1
0
            internal static _GetColorById GetColorById()
            {
                if (_GetColorByIdFunc == null)
                {
                    _GetColorByIdFunc =
                        (_GetColorById)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiPopUpMenuCtrlEx_getColorById"), typeof(_GetColorById));
                }

                return(_GetColorByIdFunc);
            }
Example #2
0
            internal static _GetColorById GetColorById()
            {
                if (_GetColorByIdFunc == null)
                {
                    _GetColorByIdFunc =
                        (_GetColorById)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiPopUpMenuCtrlEx_getColorById"), typeof(_GetColorById));
                }

                return(_GetColorByIdFunc);
            }