Helpers
Skyreal VR provides a set of blueprint helper functions that extend the functionality available in Unreal Editor. These helpers cover file operations, JSON handling, camera utilities, and more.
File Helpers
Functions for interacting with the file system:
|
Function |
Description |
|---|---|
|
TestFileExist |
Checks on disk if a file exists |
|
TestDirectoryExist |
Checks on disk if a directory exists |
|
[PathToStringArray] |
Converts a path into a list of strings (e.g., |
|
OpenWindowsPhotoViewer |
Opens an image with the default Windows image application |
|
LaunchFileInDefaultExternalApplication |
Opens the default application for a given file with custom arguments — useful for launching external executables at runtime |
|
ExploreFolder |
Opens Windows Explorer at a given file location |
JSON Helpers
Skyreal VR includes the JsonBlueprint plugin by default, providing blueprint nodes for creating and parsing JSON data.
Example JSON structure:
{
"Even": [0, 2, 4],
"Odd": ["one", "three", "five"],
"Object": {
"ObjectParam1": true,
"ObjectParam2": true
}
}
[IFRAME: JSON blueprint example — original at https://blueprintue.com/render/yu3t-tna/]
Other Helpers
|
Function |
Description |
|---|---|
|
ContainsInCmd |
Determines if a parameter is present in the program's command-line arguments and returns its value if it exists |
|
GetActorMeshBox |
Returns the mesh bounding box of an actor, excluding pivot point offset |
|
GetCameraTransformToFitToProduct |
Computes the best camera transform to fit a selection on screen |
|
GetSelectionCenterOfMass |
Returns the center of mass of a set of actors |