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

    Interface HollowTruncatedConeOptions

    Configuration options for HollowTruncatedCone geometry (Hohlkegelstumpf / Truncated Hollow Cone).

    interface HollowTruncatedConeOptions {
        height?: number;
        heightSegments?: number;
        innerRadiusBottom?: number;
        innerRadiusTop?: number;
        openEnded?: boolean;
        outerRadiusBottom?: number;
        outerRadiusTop?: number;
        radialSegments?: number;
        thetaLength?: number;
        thetaStart?: number;
        thickness?: number;
    }
    Index
    height?: number

    Total height (h). Defaults to 2.0.

    heightSegments?: number

    Number of height subdivisions along vertical axis. Defaults to 1.

    innerRadiusBottom?: number

    Inner radius at the bottom base (S). Defaults to 1.6.

    innerRadiusTop?: number

    Inner radius at the top cap (s). Defaults to 0.8.

    openEnded?: boolean

    Whether the cone ends are open (no top and bottom annular caps). Defaults to false.

    outerRadiusBottom?: number

    Outer radius at the bottom base (R). Defaults to 2.0.

    outerRadiusTop?: number

    Outer radius at the top cap (r). Defaults to 1.0.

    radialSegments?: number

    Number of radial subdivisions around circumference. Defaults to 32.

    thetaLength?: number

    Central angle of the sector in radians (2π for full cone). Defaults to 2π.

    thetaStart?: number

    Start angle of the sector in radians. Defaults to 0.

    thickness?: number

    Wall thickness (d). If provided, sets S = R - d and s = r - d.