Class MaterialPropertyAttribute
Inheritance
MaterialPropertyAttribute
Syntax
[AttributeUsage(AttributeTargets.Struct, AllowMultiple = true)]
public class MaterialPropertyAttribute : Attribute, _Attribute
Constructors
Declaration
public MaterialPropertyAttribute(string materialPropertyName, MaterialPropertyFormat format, int overrideSize = -1)
Parameters
Properties
Declaration
public MaterialPropertyFormat Format { get; }
Property Value
Name
Declaration
public string Name { get; }
Property Value
OverrideSize
Declaration
public int OverrideSize { get; }
Property Value