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); }
internal static _SetFogDensity SetFogDensity() { if (_SetFogDensityFunc == null) { _SetFogDensityFunc = (_SetFogDensity)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "fnVolumetricFog_SetFogDensity"), typeof(_SetFogDensity)); } return(_SetFogDensityFunc); }
internal static _SetFogDensity SetFogDensity() { if (_SetFogDensityFunc == null) { _SetFogDensityFunc = (_SetFogDensity)Marshal.GetDelegateForFunctionPointer( NativeLibrary.GetExport( Torque3D.Torque3DLibHandle, "fnVolumetricFog_SetFogDensity"), typeof(_SetFogDensity)); } return(_SetFogDensityFunc); }