Cylinder

@Serializable
data class Cylinder(val topRadius: Double = 1.0, val bottomRadius: Double = 1.0, val length: Double = 1.0, val steps: Int = 32, val pose: PoseData = PoseData.IDENTITY, val uvScale: Vec2Data = Vec2Data(1.0, 1.0), val color: ColorData = ColorData(MdColor.GREY)) : ShapeData

Constructors

Link copied to clipboard
constructor(topRadius: Double = 1.0, bottomRadius: Double = 1.0, length: Double = 1.0, steps: Int = 32, pose: PoseData = PoseData.IDENTITY, uvScale: Vec2Data = Vec2Data(1.0, 1.0), color: ColorData = ColorData(MdColor.GREY))

Properties

Link copied to clipboard
val bottomRadius: Double = 1.0
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val length: Double = 1.0
Link copied to clipboard
open override val name: String
Link copied to clipboard
Link copied to clipboard
val steps: Int = 32
Link copied to clipboard
val topRadius: Double = 1.0
Link copied to clipboard