FromFile

Scene.FromFile method (1 of 4)

Opens the scene from given path using specified file format.

public static Scene FromFile(string fileName, FileFormat format, 
    CancellationToken cancellationToken = default)
Parameter Type Description
fileName String File name.
format FileFormat File format.
cancellationToken CancellationToken Cancellation token to the load task

See Also


Scene.FromFile method (2 of 4)

Opens the scene from given path using specified file format.

public static Scene FromFile(string fileName, LoadOptions options, 
    CancellationToken cancellationToken = default)
Parameter Type Description
fileName String File name.
options LoadOptions More detailed configuration to open the stream.
cancellationToken CancellationToken Cancellation token to the load task

See Also


Scene.FromFile method (3 of 4)

Opens the scene from given path

public static Scene FromFile(string fileName)
Parameter Type Description
fileName String File name.

See Also


Scene.FromFile method (4 of 4)

Opens the scene from given path

public static Scene FromFile(string fileName, CancellationToken cancellationToken)
Parameter Type Description
fileName String File name.
cancellationToken CancellationToken Cancellation token to the load task

See Also