Instance Propertymigueldeicaza.swiftgodot 0.45.0SwiftGodot
material
The material used to render the cylinder.
CSGCylinder3D.swift:80final var material: Material? { get set }
Other members in extension
Type members
Instance members
var cone: Bool
If
true
a cone is created, theradius
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. Iffalse
the cylinder will have a flat shaded look.