cylinder

inline fun NodeContainer.cylinder(radius: Double = 1.0, height: Double = 2.0, division: Int = 64): Cylinder

Add a Cylinder to this container.

Return

the control added.


inline fun cylinder(radius: Double = 1.0, height: Double = 2.0, division: Int = 64, configuration: Cylinder.() -> Unit): Cylinder

Create a Cylinder with configuration block.

Return

the control created.

Parameters

configuration

the configuration block.


inline fun NodeContainer.cylinder(radius: Double = 1.0, height: Double = 2.0, division: Int = 64, configuration: Cylinder.() -> Unit): Cylinder

Add a Cylinder with configuration block to this container.

Return

the control added.

Parameters

configuration

the configuration block.