Class MaterialConverter | Unity Reflect | 1.3.0-preview.104
docs.unity3d.com
    Show / Hide Table of Contents

    Class MaterialConverter

    Inheritance
    Object
    SyncModelConverter<SyncMaterial, Material>
    MaterialConverter
    Inherited Members
    SyncModelConverter<SyncMaterial, Material>.GetFromCache(SyncId)
    SyncModelConverter<SyncMaterial, Material>.OnStreamEvent(SyncedData<SyncMaterial>, StreamEvent)
    SyncModelConverter<SyncMaterial, Material>.Import(SyncMaterial)
    SyncModelConverter<SyncMaterial, Material>.ReImport(SyncMaterial, Material)
    SyncModelConverter<SyncMaterial, Material>.OnPipelineInitialized()
    SyncModelConverter<SyncMaterial, Material>.OnPipelineShutdown()
    Namespace: UnityEngine.Reflect.Pipeline
    Syntax
    [Serializable]
    public class MaterialConverter : SyncModelConverter<SyncMaterial, Material>, IReflectNodeProcessor

    Constructors

    MaterialConverter(ITextureCache, IOutput<SyncedData<Material>>)

    Declaration
    public MaterialConverter(ITextureCache textureCache, IOutput<SyncedData<Material>> output)
    Parameters
    Type Name Description
    ITextureCache textureCache
    IOutput<SyncedData<Material>> output

    Fields

    m_TextureCache

    Declaration
    protected readonly ITextureCache m_TextureCache
    Field Value
    Type Description
    ITextureCache

    Methods

    Import(SyncMaterial)

    Declaration
    protected override Material Import(SyncMaterial syncMaterial)
    Parameters
    Type Name Description
    SyncMaterial syncMaterial
    Returns
    Type Description
    Material
    Overrides
    UnityEngine.Reflect.Pipeline.SyncModelConverter<SyncMaterial, UnityEngine.Material>.Import(SyncMaterial)

    ReImport(SyncMaterial, Material)

    Declaration
    protected override void ReImport(SyncMaterial model, Material obj)
    Parameters
    Type Name Description
    SyncMaterial model
    Material obj
    Overrides
    UnityEngine.Reflect.Pipeline.SyncModelConverter<SyncMaterial, UnityEngine.Material>.ReImport(SyncMaterial, UnityEngine.Material)
    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