Log inGet started
Package

quickGeometry.package

Newest version

This package holds more than this page lists. See all of its files in its world.

README.md

shape.capsule

A capsule along Y: a cylinder of length with a hemisphere on each end.

In a scene: CapsuleGeometry(radius, length, capSegments, radialSegments).

InputDefaultMeaning
radius0.5The radius of the cylinder and the caps.
length1The length of the straight middle part.
capSegments4Segments along each cap's arc.
radialSegments16Segments around.

The node answers geometry: a mesh with positions, normals and uvs. Its body is a call into the module in its own folder, so a graph of many parts cooks without a device dispatch per shape.

CapsuleGeometry(0.35, 0.9, 6, 20)