Open

Scene.Open method (1 of 6)

Opens the scene from given stream using specified file format.

public void Open(Stream stream, FileFormat format, CancellationToken cancellationToken = default)
Parameter Type Description
stream Stream Input stream, user is responsible for closing the stream.
format FileFormat File format.
cancellationToken CancellationToken Cancellation token to the load task

See Also


Scene.Open method (2 of 6)

Opens the scene from given stream using specified IO config.

public void Open(Stream stream, LoadOptions options, CancellationToken cancellationToken = default)
Parameter Type Description
stream Stream Input stream, user is responsible for closing the stream.
options LoadOptions More detailed configuration to open the stream.
cancellationToken CancellationToken Cancellation token to the load task

See Also


Scene.Open method (3 of 6)

Opens the scene from given stream

public void Open(Stream stream, CancellationToken cancellationToken = default)
Parameter Type Description
stream Stream Input stream, user is responsible for closing the stream.
cancellationToken CancellationToken Cancellation token to the load task

See Also


Scene.Open method (4 of 6)

Opens the scene from given path using specified file format.

public void Open(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.Open method (5 of 6)

Opens the scene from given path using specified file format.

public void Open(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.Open method (6 of 6)

Opens the scene from given path

public void Open(string fileName, CancellationToken cancellationToken = default)
Parameter Type Description
fileName String File name.
cancellationToken CancellationToken Cancellation token to the load task

See Also