docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ModelWriter

    Serializes model to binary stream

    Inheritance
    object
    ModelWriter
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Barracuda
    Assembly: solution.dll
    Syntax
    public class ModelWriter

    Methods

    Save(BinaryWriter, Model, bool)

    Save model to file

    Declaration
    public static void Save(BinaryWriter writer, Model model, bool verbose = false)
    Parameters
    Type Name Description
    BinaryWriter writer

    BinaryWriter

    Model model

    Model

    bool verbose

    verbose flag

    Save(string, Model, bool)

    Save model to file

    Declaration
    public static void Save(string fileName, Model model, bool verbose = false)
    Parameters
    Type Name Description
    string fileName

    file name

    Model model

    Model

    bool verbose

    verbose flag

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)