internal static void SetFogDensity(IntPtr thisPtr, float new_density)
            {
                if (_SetFogDensityFunc == null)
                {
                    _SetFogDensityFunc =
                        (_SetFogDensity)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle,
                                                                                                                   "fn_VolumetricFog_SetFogDensity"), typeof(_SetFogDensity));
                }

                _SetFogDensityFunc(thisPtr, new_density);
            }
Beispiel #2
0
            internal static _SetFogDensity SetFogDensity()
            {
                if (_SetFogDensityFunc == null)
                {
                    _SetFogDensityFunc =
                        (_SetFogDensity)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnVolumetricFog_SetFogDensity"), typeof(_SetFogDensity));
                }

                return(_SetFogDensityFunc);
            }
Beispiel #3
0
            internal static _SetFogDensity SetFogDensity()
            {
                if (_SetFogDensityFunc == null)
                {
                    _SetFogDensityFunc =
                        (_SetFogDensity)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnVolumetricFog_SetFogDensity"), typeof(_SetFogDensity));
                }

                return(_SetFogDensityFunc);
            }