API reference
API reference
Select your platform
No SDKs available
No versions available

CylinderConfigOptions2

CylinderConfigOptions2

data class CylinderConfigOptions2(var radius: Float = 1.0f, var height: Float = 1.0f * 3f / 4f, var width: Float = 1.0f, var pivotOffsetHeight: Float = 0.5f, var pivotOffsetWidth: Float = 0.5f) : GeometryConfigOptions2

Constructors

NameSummary
CylinderConfigOptions2
constructor(radius: Float = 1.0f, height: Float = 1.0f * 3f / 4f, width: Float = 1.0f, pivotOffsetHeight: Float = 0.5f, pivotOffsetWidth: Float = 0.5f)

Types

NameSummary
Companion
object Companion

Properties

NameSummary
height
var height: Float
pivotOffsetHeight
var pivotOffsetHeight: Float
pivotOffsetWidth
var pivotOffsetWidth: Float
radius
var radius: Float
shapeType
val shapeType: PanelShapeType
width
var width: Float

Functions

NameSummary
getAngle
fun getAngle(): Float
getAngleInDegrees
fun getAngleInDegrees(): Float

Companion

object Companion

Properties

NameSummary
MAX_RADIUS
const val MAX_RADIUS: Float = 100.0f
Did you find this page helpful?
Thumbs up icon
Thumbs down icon