ScriptInterface:FileRender(path)
Version added: before 9.5
Arguments:
Name | Type | Description | Default | Ver |
path | char | < 9.5 |
Return value:
void
When called with a valid path that includes a filename and extension that is recognised as a "simple" image type (i.e. .png, .jpg, .bmp) this function will create an image file with the correct attributes (e.g. transparency for .png) in the nominated directory as well as saving an image file in the render cache.
Otherwise, the function will open the render window as though the File / Preview command had been invoked.
Otherwise, the function will open the render window as though the File / Preview command had been invoked.