Class ShapeAttribute
Represents an attribute for a Shape type.
Inherited Members
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 |