Small World Engine API Reference - v0.78.00
    Preparing search index...

    Interface HollowCylinderOptions

    Configuration options for hollow cylinder geometry (Hohlzylinder / cylindrical shell).

    interface HollowCylinderOptions {
        height?: number;
        heightSegments?: number;
        innerRadius?: number;
        openEnded?: boolean;
        radialSegments?: number;
        radius?: number;
        radiusInner?: number;
        radiusOuter?: number;
        thetaLength?: number;
        thetaStart?: number;
        wallThickness?: number;
    }
    Index
    height?: number

    The total height (h) of the hollow cylinder. Defaults to 2.

    heightSegments?: number

    The number of height subdivisions along the vertical axis. Defaults to 1.

    innerRadius?: number

    Alias for radiusInner.

    openEnded?: boolean

    Whether the cylinder ends are open (no annular ring caps). Defaults to false.

    radialSegments?: number

    The number of radial subdivisions around the circumference. Defaults to 32.

    radius?: number

    Alias for radiusOuter.

    radiusInner?: number

    The inner radius (r2) of the hollow cylinder (hole size). Defaults to 0.5.

    radiusOuter?: number

    The outer radius (r1) of the hollow cylinder. Defaults to 1.

    thetaLength?: number

    The central angle of the sector in radians (2π for full cylinder). Defaults to 2π.

    thetaStart?: number

    The start angle of the sector in radians. Defaults to 0.

    wallThickness?: number

    Wall thickness b = r1 - r2. If specified and radiusInner is omitted, radiusInner is computed as radiusOuter - wallThickness.