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
/
Model
Model
@
Serializable
data
class
Model
(
val
modelPath
:
String
?
=
null
,
val
sceneIndex
:
Int
=
0
,
val
animationIndex
:
Int
=
-1
)
:
ShapeData
,
ShapeData.AssetBased
Members
Constructors
Model
Link copied to clipboard
constructor
(
modelPath
:
String
?
=
null
,
sceneIndex
:
Int
=
0
,
animationIndex
:
Int
=
-1
)
Properties
animation
Index
Link copied to clipboard
val
animationIndex
:
Int
is
Primitive
Shape
Link copied to clipboard
open
val
isPrimitiveShape
:
Boolean
model
Path
Link copied to clipboard
val
modelPath
:
String
?
=
null
name
Link copied to clipboard
open
override
val
name
:
String
scene
Index
Link copied to clipboard
val
sceneIndex
:
Int
=
0
Functions
to
Asset
Ref
Link copied to clipboard
open
override
fun
toAssetRef
(
)
:
AssetReference.Model
?