Constructor
new LocalCappedCylinder(isom, radius, height, smoothness, material, ptMaterial)
Constructor
Parameters:
Name | Type | Description |
---|---|---|
isom |
Isometry | the location of the cone |
radius |
number | the radii of the cone (if a single value is passed, the top and bottom radii are the same) |
height |
number | height of the cylinder |
smoothness |
number | smoothness of the edge (polynomial smooth max) |
material |
Material | the material of the cylinder |
ptMaterial |
PTMaterial | material for path tracing (optional) |