Class SyncModelConverter<TModel, TObject> | Unity Reflect | 1.3.0-preview.104
docs.unity3d.com
    Show / Hide Table of Contents

    Class SyncModelConverter<TModel, TObject>

    Inheritance
    Object
    SyncModelConverter<TModel, TObject>
    MaterialConverter
    MeshConverter
    TextureConverter
    Namespace: UnityEngine.Reflect.Pipeline
    Syntax
    public abstract class SyncModelConverter<TModel, TObject> : IReflectNodeProcessor where TModel : ISyncModel where TObject : Object
    Type Parameters
    Name Description
    TModel
    TObject

    Constructors

    SyncModelConverter(IOutput<SyncedData<TObject>>)

    Declaration
    public SyncModelConverter(IOutput<SyncedData<TObject>> output)
    Parameters
    Type Name Description
    IOutput<SyncedData<TObject>> output

    Methods

    GetFromCache(SyncId)

    Declaration
    public TObject GetFromCache(SyncId id)
    Parameters
    Type Name Description
    SyncId id
    Returns
    Type Description
    TObject

    Import(TModel)

    Declaration
    protected abstract TObject Import(TModel model)
    Parameters
    Type Name Description
    TModel model
    Returns
    Type Description
    TObject

    OnPipelineInitialized()

    Declaration
    public void OnPipelineInitialized()
    Implements
    IReflectNodeProcessor.OnPipelineInitialized()

    OnPipelineShutdown()

    Declaration
    public void OnPipelineShutdown()
    Implements
    IReflectNodeProcessor.OnPipelineShutdown()

    OnStreamEvent(SyncedData<TModel>, StreamEvent)

    Declaration
    public void OnStreamEvent(SyncedData<TModel> stream, StreamEvent streamEvent)
    Parameters
    Type Name Description
    SyncedData<TModel> stream
    StreamEvent streamEvent

    ReImport(TModel, TObject)

    Declaration
    protected abstract void ReImport(TModel model, TObject obj)
    Parameters
    Type Name Description
    TModel model
    TObject obj
    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