Saves the Baltie space to a file.
Namespace:
SGP.BaltieAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
public bool SaveScene( string fileName, bool throwIfException, params IXSceneExtensionWriter[] writers ) |
Parameters
- fileName
- Type: System..::.String
Destination file name.
- throwIfException
- Type: System..::.Boolean
Indicates whether exception should be thrown or an error dialog displayed if an error occurs.
- writers
- Type: array<
SGP.XSpace..::.IXSceneExtensionWriter
>[]()[]
Extensions IXSceneExtensionWriter to be saved with the scene.
Return Value
Returns trueTruetruetrue (True in Visual Basic) if the scene saved successfully.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | fileName is nullNothingnullptra null reference (Nothing in Visual Basic). |