toggle menu
SceneView
androidJvm
switch theme
search in API
sceneview
/
io.github.sceneview.geometries
/
Cylinder
Cylinder
class
Cylinder
:
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
height
Link copied to clipboard
var
height
:
Float
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
side
Count
Link copied to clipboard
var
sideCount
:
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
,
radius
:
Float
=
this.radius
,
height
:
Float
=
this.height
,
center
:
Position
=
this.center
,
sideCount
:
Int
=
this.sideCount
)
:
Cylinder
fun
update
(
engine
:
Engine
,
vertices
:
List
<
Geometry.Vertex
>
=
this.vertices
,
primitivesIndices
:
List
<
List
<
Int
>
>
=
this.primitivesIndices
)
:
Geometry