Class Cone
Represents a basic cone shape.
Inherited Members
Namespace: UnityEngine.ProBuilder.Shapes
Assembly: Unity.ProBuilder.dll
Syntax
[Shape("Cone")]
public class Cone : 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. |
UpdateBounds(ProBuilderMesh, Vector3, Quaternion, Bounds) | Allows the user to redefine the default bounding box for this shape. |