toggle menu
SceneView
androidJvm
switch theme
search in API
sceneview
/
io.github.sceneview.geometries
/
Sphere
/
Companion
Companion
object
Companion
Members
Properties
DEFAULT_CENTER
Link copied to clipboard
val
DEFAULT_CENTER
:
Float3
DEFAULT_RADIUS
Link copied to clipboard
val
DEFAULT_RADIUS
:
Float
=
1.0f
DEFAULT_SLICES
Link copied to clipboard
val
DEFAULT_SLICES
:
Int
=
24
DEFAULT_STACKS
Link copied to clipboard
val
DEFAULT_STACKS
:
Int
=
24
Functions
get
Indices
Link copied to clipboard
fun
getIndices
(
stacks
:
Int
,
slices
:
Int
)
:
List
<
MutableList
<
Int
>
>
get
Vertices
Link copied to clipboard
fun
getVertices
(
radius
:
Float
,
center
:
Position
,
stacks
:
Int
,
slices
:
Int
)
:
List
<
Geometry.Vertex
>