Struct CSGCylinder

A CSG Cylinder shape.

struct CSGCylinder ;

This node allows you to create a cylinder (or cone) for use with the CSG system.

Properties

NameTypeDescription
cone[get, set] boolIf true a cone is created, the radius will only apply to one side.
height[get, set] doubleThe height of the cylinder.
radius[get, set] doubleThe radius of the cylinder.
sides[get, set] longThe number of sides of the cylinder, the higher this number the more detail there will be in the cylinder.
smoothFaces[get, set] boolIf 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.

Methods

NameDescription
getHeight
getMaterial
getRadius
getSides
getSmoothFaces
isCone
setCone
setHeight
setMaterial
setRadius
setSides
setSmoothFaces