Class MaterialPropertyAttribute | Hybrid Renderer | 0.2.0-preview.18
docs.unity3d.com
    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 © 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