toggle menu
SceneView
androidJvm
switch theme
search in API
sceneview
/
io.github.sceneview.node
/
SphereNode
/
SphereNode
Sphere
Node
constructor
(
engine
:
Engine
,
geometry
:
Sphere
,
materialInstance
:
MaterialInstance
?
=
null
,
builderApply
:
RenderableManager.Builder
.
(
)
->
Unit
=
{}
)
constructor
(
engine
:
Engine
,
radius
:
Float
=
Sphere.DEFAULT_RADIUS
,
center
:
Position
=
Sphere.DEFAULT_CENTER
,
stacks
:
Int
=
Sphere.DEFAULT_STACKS
,
slices
:
Int
=
Sphere.DEFAULT_SLICES
,
materialInstances
:
List
<
MaterialInstance
?
>
,
builderApply
:
RenderableManager.Builder
.
(
)
->
Unit
=
{}
)
constructor
(
engine
:
Engine
,
radius
:
Float
=
Sphere.DEFAULT_RADIUS
,
center
:
Position
=
Sphere.DEFAULT_CENTER
,
stacks
:
Int
=
Sphere.DEFAULT_STACKS
,
slices
:
Int
=
Sphere.DEFAULT_SLICES
,
materialInstance
:
MaterialInstance
?
=
null
,
builderApply
:
RenderableManager.Builder
.
(
)
->
Unit
=
{}
)