docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method LoadModelDesc

    LoadModelDesc(ModelAsset, ref Model)

    Loads a model description without the external weights from a serialized ModelAsset

    Declaration
    public static void LoadModelDesc(ModelAsset modelAsset, ref Model model)
    Parameters
    Type Name Description
    ModelAsset modelAsset

    The serialized ModelAsset from which to load the model description

    Model model

    The model to set the loaded description of

    LoadModelDesc(Stream, ref Model)

    Loads a model description without the external weights from a stream

    Declaration
    public static void LoadModelDesc(Stream stream, ref Model model)
    Parameters
    Type Name Description
    Stream stream

    The Stream from which to load the binary serialized model

    Model model

    The model to set the loaded description of

    In This Article
    Back to top
    Copyright © 2024 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)