toggle menu
SceneView
androidJvm
switch theme
search in API
sceneview
/
io.github.sceneview.geometries
/
Sphere
Sphere
class
Sphere
:
Geometry
Members
Types
Builder
Link copied to clipboard
class
Builder
:
Geometry.Builder
Companion
Link copied to clipboard
object
Companion
Properties
bounding
Box
Link copied to clipboard
var
boundingBox
:
Box
center
Link copied to clipboard
var
center
:
Position
index
Buffer
Link copied to clipboard
val
indexBuffer
:
IndexBuffer
indices
Link copied to clipboard
val
indices
:
List
<
Int
>
primitives
Indices
Link copied to clipboard
var
primitivesIndices
:
List
<
List
<
Int
>
>
primitives
Offsets
Link copied to clipboard
var
primitivesOffsets
:
List
<
IntRange
>
primitive
Type
Link copied to clipboard
val
primitiveType
:
RenderableManager.PrimitiveType
radius
Link copied to clipboard
var
radius
:
Float
slices
Link copied to clipboard
var
slices
:
Int
stacks
Link copied to clipboard
var
stacks
:
Int
vertex
Buffer
Link copied to clipboard
val
vertexBuffer
:
VertexBuffer
vertices
Link copied to clipboard
var
vertices
:
List
<
Geometry.Vertex
>
Functions
set
Primitives
Indices
Link copied to clipboard
fun
setPrimitivesIndices
(
engine
:
Engine
,
primitivesIndices
:
List
<
List
<
Int
>
>
)
set
Vertices
Link copied to clipboard
fun
setVertices
(
engine
:
Engine
,
vertices
:
List
<
Geometry.Vertex
>
)
update
Link copied to clipboard
fun
update
(
engine
:
Engine
,
vertices
:
List
<
Geometry.Vertex
>
=
this.vertices
,
primitivesIndices
:
List
<
List
<
Int
>
>
=
this.primitivesIndices
)
:
Geometry
fun
update
(
engine
:
Engine
,
radius
:
Float
=
this.radius
,
center
:
Position
=
this.center
,
stacks
:
Int
=
this.stacks
,
slices
:
Int
=
this.slices
)
:
Sphere