Class Stairs
Represents a basic stairs shape.
Inherited Members
Namespace: UnityEngine.ProBuilder.Shapes
Assembly: Unity.ProBuilder.dll
Syntax
[Shape("Stairs")]
public class Stairs : Shape
Properties
Name | Description |
---|---|
sides | Gets or sets whether to draw polygons on the sides of the stairs. |
Methods
Name | Description |
---|---|
CopyShape(Shape) | Overwrites this shape's property values by copying them from the specified Shape object. |
RebuildMesh(ProBuilderMesh, Vector3, Quaternion) | Rebuilds the specified mesh using the existing property values for this shape. This includes building a list of vertices and normals for each face, applying smoothing to the faces if required, and calculating the bounds of the mesh. |
UpdateBounds(ProBuilderMesh, Vector3, Quaternion, Bounds) | Allows the user to redefine the default bounding box for this shape. |