Content Update Tutorial
Name | Location |
---|---|
ExContentUpdate | <Vortex Studio Installation Folder>\tutorials\ExContentUpdate |
This tutorial demonstrates how to read, update and copy content from code.
It is meant to update and modify the Rover created during Tutorials ExContentCreation.
See Vortex Studio SDK - Creating Content for more details about content manipulation.
Using the tutorial
- Open Tutorials solution
- Compile and run ExContentCreation
- Set ExContentUpdate as the active project.
- Compile the project.
- The code is fully documented explaining each steps.
- Run the executable
- --sourceDirectory <folder>, location where ExContentCreation produced the rover scene file.
- --saveAs <folder>: folder to save the modified content
- --addRover : Optional, if set, a rover is added to the scene.
- The updated content can be viewed in the editor.
- To go into detail, debug the project and follow the code execution step by step.
Command Line Example
Here is an example of the Command to type into the Terminal to execute step #6.
(Take note that Paths may have to be changed in order to match your directories and that the "--addRover" is an optional argument)
runExContentUpdate --sourceDirectory "C:/TemporaryFolder/" --saveAs "C:/TemporaryFolder/results/" --addRover