kool-editor-model
Toggle table of contents
0.18.0
common
Platform filter
common
Switch theme
Search in API
kool-editor-model
kool-editor-model
/
de.fabmax.kool.editor.data
/
ShapeData
/
Capsule
Capsule
@
Serializable
data
class
Capsule
(
val
radius
:
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
Members
Constructors
Capsule
Link copied to clipboard
constructor
(
radius
:
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
color
Link copied to clipboard
val
color
:
ColorData
is
Primitive
Shape
Link copied to clipboard
open
val
isPrimitiveShape
:
Boolean
length
Link copied to clipboard
val
length
:
Double
=
1.0
name
Link copied to clipboard
open
override
val
name
:
String
pose
Link copied to clipboard
val
pose
:
PoseData
radius
Link copied to clipboard
val
radius
:
Double
=
1.0
steps
Link copied to clipboard
val
steps
:
Int
=
32
uv
Scale
Link copied to clipboard
val
uvScale
:
Vec2Data