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
/
LightTypeData
/
Directional
Directional
@
Serializable
data
class
Directional
(
val
color
:
ColorData
=
ColorData(Color.WHITE)
,
val
intensity
:
Float
=
1.5f
)
:
LightTypeData
Members
Constructors
Directional
Link copied to clipboard
constructor
(
color
:
ColorData
=
ColorData(Color.WHITE)
,
intensity
:
Float
=
1.5f
)
Properties
color
Link copied to clipboard
open
override
val
color
:
ColorData
intensity
Link copied to clipboard
open
override
val
intensity
:
Float
=
1.5f
name
Link copied to clipboard
open
override
val
name
:
String
Functions
create
Light
Link copied to clipboard
open
override
fun
createLight
(
)
:
Light.Directional
update
Light
Link copied to clipboard
open
override
fun
updateLight
(
existingLight
:
Light
)
:
Boolean