Loads a scene from a file.

Namespace:  SGP.Baltie2D
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public bool LoadScene(
	string fileName,
	bool loadBalties
)

Parameters

fileName
Type: System..::.String
File with the definition of the scene.
loadBalties
Type: System..::.Boolean
Indicates whether Balties should be loaded as well.

Return Value

Returns trueTruetruetrue (True in Visual Basic) if the scene loaded successfully.

Exceptions

ExceptionCondition
System..::.ArgumentNullException fileName is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also