Class Prism
Represents a basic prism shape.
Inherited Members
Namespace: UnityEngine.ProBuilder.Shapes
Assembly: Unity.ProBuilder.dll
Syntax
[Shape("Prism")]
public class Prism : Shape
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. |