Threepp.CapsuleGeometry¶
Capsule geometry
Generates a capsule shape (a cylinder capped with hemispheres at both ends).
Members¶
Constructors¶
Properties¶
CapsuleGeometry¶
Constructor
Arguments
| Arguments | Default | Description |
|---|---|---|
radius |
0.5 |
Radius. |
length |
1 |
Length of the cylindrical middle section. |
capSegments |
8 |
Number of segments in each cap. |
radialSegments |
16 |
Number of segments around the circumference. |
Description
Constructor
type¶
Property \ Access: r/w
Description
Type name (read-only)