toggle menu
SceneView
androidJvm
switch theme
search in API
sceneview
/
io.github.sceneview.node
/
CubeNode
/
CubeNode
Cube
Node
constructor
(
engine
:
Engine
,
geometry
:
Cube
,
materialInstance
:
MaterialInstance
?
=
null
,
builderApply
:
RenderableManager.Builder
.
(
)
->
Unit
=
{}
)
constructor
(
engine
:
Engine
,
size
:
Size
=
Cube.DEFAULT_SIZE
,
center
:
Position
=
Cube.DEFAULT_CENTER
,
materialInstances
:
List
<
MaterialInstance
?
>
,
builderApply
:
RenderableManager.Builder
.
(
)
->
Unit
=
{}
)
constructor
(
engine
:
Engine
,
size
:
Size
=
Cube.DEFAULT_SIZE
,
center
:
Position
=
Cube.DEFAULT_CENTER
,
materialInstance
:
MaterialInstance
?
=
null
,
builderApply
:
RenderableManager.Builder
.
(
)
->
Unit
=
{}
)