静态__init__静态create静态createThe radius of the capsule. Default is 0.5.
The height of the capsule. Default is 2.
The number of stacks, typically half the number of vertical slices. Default is 16.
The number of vertical slices. Default is 32.
静态create静态create静态createThe length of the plane. Default is 10.
The width of the plane. Default is 10.
The number of longitudinal subdivisions. Default is 10.
The number of latitudinal subdivisions. Default is 10.
The created Mesh instance.
静态create静态createThe radius of the sphere. Default is 0.5.
The number of stacks, typically used for the vertical slices. Default is 32.
The number of slices, typically used for the horizontal circles. Default is 32.
The created Mesh instance.
En
The
PrimitiveMeshclass is used to create simple meshes.Zh
PrimitiveMesh类用于创建简单的网格。