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); }
internal static _SetFogColor SetFogColor() { if (_SetFogColorFunc == null) { _SetFogColorFunc = (_SetFogColor)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "fnVolumetricFog_SetFogColor"), typeof(_SetFogColor)); } return(_SetFogColorFunc); }
internal static _SetFogColor SetFogColor() { if (_SetFogColorFunc == null) { _SetFogColorFunc = (_SetFogColor)Marshal.GetDelegateForFunctionPointer( NativeLibrary.GetExport( Torque3D.Torque3DLibHandle, "fnVolumetricFog_SetFogColor"), typeof(_SetFogColor)); } return(_SetFogColorFunc); }