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
/
PhysicsMaterialData
Physics
Material
Data
@
Serializable
data
class
PhysicsMaterialData
(
val
id
:
EntityId
,
val
name
:
String
,
val
staticFriction
:
Float
=
0.5f
,
val
dynamicFriction
:
Float
=
0.5f
,
val
restitution
:
Float
=
0.2f
)
Members
Constructors
Physics
Material
Data
Link copied to clipboard
constructor
(
id
:
EntityId
,
name
:
String
,
staticFriction
:
Float
=
0.5f
,
dynamicFriction
:
Float
=
0.5f
,
restitution
:
Float
=
0.2f
)
Properties
dynamic
Friction
Link copied to clipboard
val
dynamicFriction
:
Float
=
0.5f
id
Link copied to clipboard
val
id
:
EntityId
name
Link copied to clipboard
val
name
:
String
restitution
Link copied to clipboard
val
restitution
:
Float
=
0.2f
static
Friction
Link copied to clipboard
val
staticFriction
:
Float
=
0.5f