Class ShapeAttribute
Represents an attribute for a Shape type.
Inherited Members
Namespace: UnityEngine.ProBuilder.Shapes
Assembly: Unity.ProBuilder.dll
Syntax
[AttributeUsage(AttributeTargets.Class)]
public class ShapeAttribute : 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 |