docs.unity.cn
    Show / Hide Table of Contents

    Interface IReflectMaterialConverter

    Namespace: UnityEngine.Reflect
    Syntax
    public interface IReflectMaterialConverter

    Properties

    defaultMaterial

    Declaration
    Material defaultMaterial { get; }
    Property Value
    Type Description
    Material

    IsAvailable

    Declaration
    bool IsAvailable { get; }
    Property Value
    Type Description
    Boolean

    name

    Declaration
    string name { get; }
    Property Value
    Type Description
    String

    Methods

    GetShader(SyncMaterial)

    Declaration
    Shader GetShader(SyncMaterial syncMaterial)
    Parameters
    Type Name Description
    SyncMaterial syncMaterial
    Returns
    Type Description
    Shader

    SetMaterialProperties(SyncedData<SyncMaterial>, Material, ITextureCache)

    Declaration
    void SetMaterialProperties(SyncedData<SyncMaterial> syncMaterial, Material material, ITextureCache textureCache)
    Parameters
    Type Name Description
    SyncedData<SyncMaterial> syncMaterial
    Material material
    ITextureCache textureCache
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 26 April 2021