@cccode/fxr - v22.0.0

    Function cylinder

    • Creates a node with two elliptical outlines and four line segments connecting them, forming a cylinder.

      Parameters

      • radiusX: number = 1

        The X radius of the cylinder.

      • radiusY: number = radiusX

        The Y radius of the cylinder.

      • height: number = 1

        The height of the cylinder.

      • segments: number = 16

        The number of line segments to use to approximate the ellipses.

      • Optionalcolor: Vector4Value

        The color of the lines.

      • OptionallineWidth: ScalarValue

        The width of the lines.

      • Optionalargs: Partial<Props<BillboardEx>>

        Extra arguments for the particle action constructor.

      Returns BasicNode

    MMNEPVFCICPMFPCPTTAAATR