docs.unity3d.com
    Show / Hide Table of Contents

    Class DemonstrationWriter

    Responsible for writing demonstration data to stream (typically a file stream).

    Inheritance
    Object
    DemonstrationWriter
    Namespace: Unity.MLAgents.Demonstrations
    Syntax
    public class DemonstrationWriter : object

    Constructors

    DemonstrationWriter(Stream)

    Create a DemonstrationWriter that will write to the specified stream. The stream must support writes and seeking.

    Declaration
    public DemonstrationWriter(Stream stream)
    Parameters
    Type Name Description
    Stream stream

    Methods

    Close()

    Performs all clean-up necessary.

    Declaration
    public void Close()

    See Also

    DemonstrationRecorder
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023