Studio Yotsuba
Back to Node List

Model Cylinder

model_cylinder

Generates a z-up flat-shaded cylinder with automatic UVs and named body/top/bottom regions. Caps can be disabled; mesh booleans are not performed.

Reviewed
Guide available

Output Ports

NameTypeDescription
Model
model
Model
Assembled game-ready polygon model.
Texture Layout
texture_layout
TextureLayout
Automatic UV layout and named material regions for 2D authoring.

Parameters

NameTypeDefaultRangeDescription / Options
Radius
radius
Float
0.50.01–32 / step 0.05

Radius in the x-y plane.

Height
height
Float
10.01–64 / step 0.05

Size along z.

Segments
segments
Int
163–128

Number of flat side segments.

Capped
capped
Bool
true—

Generate top and bottom caps.

Part Name
name
Text
Cylinder—

Stable part name used in GLB.

Overview

Creates a low-poly cylinder model. It is a base primitive for pillars, tanks, cans, and logs, with automatic UVs and named body, top, and bottom regions. It is one of the core primitives in the Model workflow for pixel-art textures.

Usage tips

  • Low segment counts are the low-poly approach. Even a six- or eight-sided prism reads as a cylinder with pixel-art textures and flat shading.
  • The side (body) and caps (top/bottom) are separate regions, so model_set_material can assign different textures—for example, bark on a log's side and growth rings on its ends.
  • Disable the caps for an open tube or pipe to save polygons.

Common pitfalls

  • Trying to mix it with Solid nodes: this is separate from solid_cylinder. Use the Solid workflow for a pixel-art image and the Model workflow for a 3D model asset.

Related nodes

  • model_cone — matching roof or tip
  • model_set_material / model_render / model_gltf_export — standard workflow
  • solid_cylinder — the same shape in the pixel-art image workflow
Back to Node List