Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

  • deleteFile(filePath: string, resultVar: Variable): void
  • deleteFileAsync(filePath: string, resultVar: Variable): void
  • getDirectoryName(fileOrFolderPath: string): any
  • getExtensionName(filePath: string): any
  • getFileName(filePath: string): any
  • getPathDelimiter(): string
  • loadStringFromFile(stringVar: Variable, loadPath: string, resultVar: Variable): void
  • loadStringFromFileAsync(stringVar: Variable, loadPath: string, resultVar: Variable): void
  • Load a string from a file into a scene variable, asynchronously.

    Parameters

    • stringVar: Variable

      Variable where to store the content

    • loadPath: string

      Path to the file

    • resultVar: Variable

      The variable where to store the result of the operation

    Returns void

  • loadVariableFromJSONFile(variable: Variable, loadPath: string, resultVar: Variable): void
  • loadVariableFromJSONFileAsync(variable: Variable, loadPath: string, resultVar: Variable): void
  • Load a JSON file and convert it into a variable, asynchronously.

    Parameters

    • variable: Variable

      Variable to store the variable

    • loadPath: string

      Path to the file

    • resultVar: Variable

      The variable where to store the result of the operation

    Returns void

  • makeDirectory(directory: string, resultVar: Variable): void
  • pathExists(filePath: string): boolean
  • saveStringToFile(text: string, savePath: string, resultVar: Variable): void
  • saveStringToFileAsync(text: string, savePath: string, resultVar: Variable): void
  • Save a string into a file, asynchronously.

    Parameters

    • text: string

      The string to be saved

    • savePath: string

      Path to the file

    • resultVar: Variable

      The variable where to store the result of the operation

    Returns void

  • saveVariableToJSONFile(variable: Variable, savePath: string, resultVar: Variable): void
  • saveVariableToJSONFileAsync(variable: Variable, savePath: string, resultVar: Variable): void

Generated using TypeDoc