Method SaveToStreamAndDispose
SaveToStreamAndDispose(Stream)
Exports the collected scenes/content as glTF, writes it to a Stream and disposes this object. Only works for self-contained glTF-Binary. After the export this instance cannot be re-used!
Declaration
public Task<bool> SaveToStreamAndDispose(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | glTF destination stream |
Returns
Type | Description |
---|---|
Task<bool> | True if the glTF file was created successfully, false otherwise |