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
/
Heightmap
Heightmap
@
Serializable
data
class
Heightmap
(
val
mapPath
:
String
?
=
null
,
val
heightOffset
:
Double
=
0.0
,
val
heightScale
:
Double
=
100.0
,
val
rowScale
:
Double
=
1.0
,
val
colScale
:
Double
=
1.0
,
val
uvScale
:
Vec2Data
=
Vec2Data(1.0, 1.0)
)
:
ShapeData
,
ShapeData.AssetBased
Members
Constructors
Heightmap
Link copied to clipboard
constructor
(
mapPath
:
String
?
=
null
,
heightOffset
:
Double
=
0.0
,
heightScale
:
Double
=
100.0
,
rowScale
:
Double
=
1.0
,
colScale
:
Double
=
1.0
,
uvScale
:
Vec2Data
=
Vec2Data(1.0, 1.0)
)
Properties
col
Scale
Link copied to clipboard
val
colScale
:
Double
=
1.0
height
Offset
Link copied to clipboard
val
heightOffset
:
Double
=
0.0
height
Scale
Link copied to clipboard
val
heightScale
:
Double
=
100.0
is
Primitive
Shape
Link copied to clipboard
open
val
isPrimitiveShape
:
Boolean
map
Path
Link copied to clipboard
val
mapPath
:
String
?
=
null
name
Link copied to clipboard
open
override
val
name
:
String
row
Scale
Link copied to clipboard
val
rowScale
:
Double
=
1.0
uv
Scale
Link copied to clipboard
val
uvScale
:
Vec2Data
Functions
to
Asset
Ref
Link copied to clipboard
open
override
fun
toAssetRef
(
)
:
AssetReference.Heightmap
?