Class MaterialPropertyAttribute | Hybrid Renderer | 0.3.5-preview.15
docs.unity.cn
    Show / Hide Table of Contents

    Class MaterialPropertyAttribute

    Inheritance
    Object
    Attribute
    MaterialPropertyAttribute
    Namespace: Unity.Rendering
    Syntax
    [AttributeUsage(AttributeTargets.Struct, AllowMultiple = true)]
    public class MaterialPropertyAttribute : Attribute, _Attribute

    Constructors

    MaterialPropertyAttribute(String, MaterialPropertyFormat)

    Declaration
    public MaterialPropertyAttribute(string materialPropertyName, MaterialPropertyFormat format)
    Parameters
    Type Name Description
    String materialPropertyName
    MaterialPropertyFormat format

    Properties

    Format

    Declaration
    public MaterialPropertyFormat Format { get; }
    Property Value
    Type Description
    MaterialPropertyFormat

    Name

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    String
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX