/// fd_rectangle_draw(instance id, x, y, xscale, yscale, color, alpha, use interpolation) function fd_rectangle_draw(domain, _x, _y, xscale, yscale, color, alpha, interpolate) { // Draws the fluid dynamics rectangle. // instance id: The instance id of the fluid dynamics rectangle. // x, y: The pixel position to draw at. // xscale, yscale: The scale to draw at. // color: The image blending color, the same as color in draw_surface_ext. // alpha: The alpha to draw at, the same as alpha in draw_surface_ext. // use interpolation: Set this to true if you want linear interpolation to be enabled, and false if you want nearest neighbor to be used instead. fd_rectangle_draw_part(domain, 0, 0, domain.sf_material_width, domain.sf_material_height, _x, _y, xscale, yscale, color, alpha, interpolate); }