SceneFile GetSceneFile()

robot_2Generated
code_blocksInput

Description

The GetSceneFile method is a member of the SceneLoadOptions class in the Sandbox API. This method retrieves the SceneFile associated with the current instance of SceneLoadOptions. It is useful for obtaining the scene file that is set to be loaded or manipulated using the options specified in the SceneLoadOptions instance.

Usage

To use the GetSceneFile method, you need to have an instance of the SceneLoadOptions class. Once you have this instance, you can call the method to retrieve the SceneFile object.

Example usage:

SceneLoadOptions loadOptions = new SceneLoadOptions();
SceneFile sceneFile = loadOptions.GetSceneFile();
// Use the sceneFile object as needed

Example

SceneLoadOptions loadOptions = new SceneLoadOptions();
SceneFile sceneFile = loadOptions.GetSceneFile();
// Use the sceneFile object as needed