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

CylinderConfigOptions2 Class

Modifiers: final

Signature

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

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

Properties

height : Float
[Get][Set]
Signature
var height: Float
pivotOffsetHeight : Float
[Get][Set]
Signature
var pivotOffsetHeight: Float
pivotOffsetWidth : Float
[Get][Set]
Signature
var pivotOffsetWidth: Float
radius : Float
[Get][Set]
Signature
var radius: Float
shapeType : PanelShapeType
[Get]
Signature
val shapeType: PanelShapeType
width : Float
[Get][Set]
Signature
var width: Float

Functions

getAngle () : Float
Signature
fun getAngle(): Float
Returns
Float
getAngleInDegrees () : Float
Signature
fun getAngleInDegrees(): Float
Returns
Float

Companion Object

Companion Object Properties

MAX_RADIUS : Float
[Get]
Signature
const val MAX_RADIUS: Float = 100.0f
Did you find this page helpful?
Thumbs up icon
Thumbs down icon