class Project
This class represents an InstantTerra project.
InstantTerra instantTerra = new InstantTerra(); // Start the instance
Project project = instantTerra.GetProject(); // Get the current project
enum ExportStatus
This enum represents a status of an export.
NewProject
()Create a new project.
Warning
If the current project has not been saved, it will be lost!
project.NewProject();
SaveProject
(string filename)Path of the project to save.
Save the current project with the specified filename.
project.SaveProject("my_project.terrain");
OpenProject
(string filename)Path of the project to save.
Open a project with the specified filename.
Warning
If the current project has not been saved, it will be lost!
project.OpenProject("my_project.terrain");
CloseProject
()Close the current project.
Warning
If the current project has not been saved, it will be lost!
project.CloseProject();
IsProjectAvailable
()True if the project exists, otherwise False.
Returns the status of the current project.
project.IsProjectAvailable();
ExportAll
()The status of the export.
Export all nodes of the project.
project.ExportAll();
ExportNode
(Node
node)The status of the export.
Export one node. The node must be an export node.
project.ExportNode(nodeToExport);
GetGraph
()Access the project graph.
project.GetGraph();
Copyright © 2022 · All Rights Reserved · Wysilab