Class ShapeAttribute
Represents an attribute for a Shape type.
Inherited Members
System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type, System.Boolean)
System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type, System.Boolean)
System.Attribute.System.Runtime.InteropServices._Attribute.GetTypeInfoCount(System.UInt32)
Namespace: UnityEngine.ProBuilder.Shapes
Syntax
[AttributeUsage(AttributeTargets.Class)]
public class ShapeAttribute : Attribute, _Attribute
Constructors
ShapeAttribute(String)
Creates a ShapeAttribute with the specified name.
Declaration
public ShapeAttribute(string n)
Parameters
Type | Name | Description |
---|---|---|
String | n | The name of the new ShapeAttribute. |
Fields
name
Name of the attribute
Declaration
public string name
Field Value
Type | Description |
---|---|
String |