Exemplo n.º 1
0
            internal static void addScheme(IntPtr thisPtr, uint id, InternalColorIStruct fontColor, InternalColorIStruct fontColorHL, InternalColorIStruct fontColorSEL)
            {
                if (_addSchemeFunc == null)
                {
                    _addSchemeFunc =
                        (_addScheme)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle,
                                                                                                               "fn_GuiPopUpMenuCtrl_addScheme"), typeof(_addScheme));
                }

                _addSchemeFunc(thisPtr, id, fontColor, fontColorHL, fontColorSEL);
            }
Exemplo n.º 2
0
            internal static void SetFogColor(IntPtr thisPtr, InternalColorIStruct new_color)
            {
                if (_SetFogColorFunc == null)
                {
                    _SetFogColorFunc =
                        (_SetFogColor)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle,
                                                                                                                 "fn_VolumetricFog_SetFogColor"), typeof(_SetFogColor));
                }

                _SetFogColorFunc(thisPtr, new_color);
            }