Loads scene from the file.
            
    Namespace: 
   SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
| C# | 
|---|
public static XScene FromFile( string fileName, params IXSceneExtensionReader[] readers )  | 
Parameters
- fileName
 - Type: System..::.String
File with the saved scene. 
- readers
 - Type: array<
            SGP.XSpace..::.IXSceneExtensionReader
          >[]()[]
The optional IXSceneExtensionReader extensions. 
Return Value
Returns new loaded scene.
Exceptions
| Exception | Condition | 
|---|---|
| System..::.ArgumentNullException | fileName is nullNothingnullptra null reference (Nothing in Visual Basic). |