internal static void SetFogModulation(IntPtr thisPtr, float new_strenght, InternalPoint2FStruct new_speed1, InternalPoint2FStruct new_speed2) { if (_SetFogModulationFunc == null) { _SetFogModulationFunc = (_SetFogModulation)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_VolumetricFog_SetFogModulation"), typeof(_SetFogModulation)); } _SetFogModulationFunc(thisPtr, new_strenght, new_speed1, new_speed2); }
internal static _SetFogModulation SetFogModulation() { if (_SetFogModulationFunc == null) { _SetFogModulationFunc = (_SetFogModulation)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "fnVolumetricFog_SetFogModulation"), typeof(_SetFogModulation)); } return(_SetFogModulationFunc); }
internal static _SetFogModulation SetFogModulation() { if (_SetFogModulationFunc == null) { _SetFogModulationFunc = (_SetFogModulation)Marshal.GetDelegateForFunctionPointer( NativeLibrary.GetExport( Torque3D.Torque3DLibHandle, "fnVolumetricFog_SetFogModulation"), typeof(_SetFogModulation)); } return(_SetFogModulationFunc); }