internal static void SetFogGlow(IntPtr thisPtr, bool on_off, float strength)
            {
                if (_SetFogGlowFunc == null)
                {
                    _SetFogGlowFunc =
                        (_SetFogGlow)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle,
                                                                                                                "fn_VolumetricFog_SetFogGlow"), typeof(_SetFogGlow));
                }

                _SetFogGlowFunc(thisPtr, on_off, strength);
            }
Example #2
0
            internal static _SetFogGlow SetFogGlow()
            {
                if (_SetFogGlowFunc == null)
                {
                    _SetFogGlowFunc =
                        (_SetFogGlow)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnVolumetricFog_SetFogGlow"), typeof(_SetFogGlow));
                }

                return(_SetFogGlowFunc);
            }
Example #3
0
            internal static _SetFogGlow SetFogGlow()
            {
                if (_SetFogGlowFunc == null)
                {
                    _SetFogGlowFunc =
                        (_SetFogGlow)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnVolumetricFog_SetFogGlow"), typeof(_SetFogGlow));
                }

                return(_SetFogGlowFunc);
            }