Rasagar/Library/PackageCache/com.unity.probuilder/Documentation~/Cylinder.md
2024-08-26 23:07:20 +03:00

985 B

Cylinder

A cylinder is a shape with long straight sides and two circular (or roughly circular) ends, like a tube. They have a radius and a height.

Cylinder shapes

(A) Cylinder without a smoothing group

(B) Cylinder with a high sides count

(C) Cylinder with a lot of height cuts

(D) Default cylinder shape

You can customize the shape of a cylinder with these shape-specific properties:

Property: Description:
Sides Count Set the number of sides for the cylinder. The more sides you use, the smoother the sides of the cylinder become. The default value is 6. Valid values range from 4 to 64.
Height Cuts Set the number of divisions to use for the height of the cylinder. For example, a value of 3 produces 4 faces on every side of the cylinder. The default value is 0.
Smooth Enable this option to smooth the edges of the polygons. This property is enabled by default.