Documentation Home
Breadcrumbs

Files

File Helpers

Skyreal VR provides blueprint functions for common file system operations. These are useful when your extension needs to interact with files on disk — checking for existence, opening files in external applications, or browsing to file locations.

Available Functions

TestFileExist

Checks whether a specific file exists on disk.

  • Input: File path (string)

  • Output: Boolean — true if the file exists

TestDirectoryExist

Checks whether a specific directory exists on disk.

  • Input: Directory path (string)

  • Output: Boolean — true if the directory exists

Path to String Array

Converts a file path into an array of path components.

  • Input: Full path string (e.g., c:/MyPath/Test/MyFile.txt)

  • Output: Array of strings (e.g., {"c:", "MyPath", "Test", "MyFile.txt"})

OpenWindowsPhotoViewer

Opens an image file using the default Windows image viewer application.

  • Input: Image file path (string)

LaunchFileInDefaultExternalApplication

Opens a file with its default application, with optional custom arguments. This is useful for launching external executable files during runtime.

  • Input: File path (string), Arguments (string)

ExploreFolder

Opens Windows Explorer at the specified file location.

  • Input: File or folder path (string)

Usage Tips

  • Use TestFileExist and TestDirectoryExist to validate paths before performing file operations

  • LaunchFileInDefaultExternalApplication can be used to open documentation, launch helper tools, or trigger external processes from within a Skyreal VR extension

  • ExploreFolder is helpful for guiding users to output directories (e.g., screenshot or report folders)