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