material

    The material used to render the cylinder.

    CSGCylinder3D.swift:80
    final var material: Material? { get set }

    Other members in extension

    Type members

    Instance members

    • var cone: Bool

      If true a cone is created, the radius will only apply to one side.

    • var height: Double

      The height of the cylinder.

    • var radius: Double

      The radius of the cylinder.

    • var sides: Int32

      The number of sides of the cylinder, the higher this number the more detail there will be in the cylinder.

    • var smoothFaces: Bool

      If true the normals of the cylinder are set to give a smooth effect making the cylinder seem rounded. If false the cylinder will have a flat shaded look.