toggle menu
SceneView
androidJvm
switch theme
search in API
sceneview
/
io.github.sceneview.geometries
/
Cylinder
/
Builder
Builder
class
Builder
:
Geometry.Builder
Members
Constructors
Builder
Link copied to clipboard
constructor
(
)
Properties
center
Link copied to clipboard
var
center
:
Position
height
Link copied to clipboard
var
height
:
Float
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
Functions
build
Link copied to clipboard
open
override
fun
build
(
engine
:
Engine
)
:
Cylinder
fun
<
T
:
Geometry
>
build
(
engine
:
Engine
,
constructor
:
(
vertexBuffer
:
VertexBuffer
,
indexBuffer
:
IndexBuffer
,
offsets
:
List
<
IntRange
>
,
boundingBox
:
Box
)
->
T
)
:
T
center
Link copied to clipboard
fun
center
(
center
:
Position
)
:
Cylinder.Builder
height
Link copied to clipboard
fun
height
(
height
:
Float
)
:
Cylinder.Builder
indices
Link copied to clipboard
fun
indices
(
indices
:
List
<
Int
>
)
:
Geometry.Builder
primitives
Indices
Link copied to clipboard
fun
primitivesIndices
(
indices
:
List
<
List
<
Int
>
>
)
:
Geometry.Builder
radius
Link copied to clipboard
fun
radius
(
radius
:
Float
)
:
Cylinder.Builder
side
Count
Link copied to clipboard
fun
sideCount
(
sideCount
:
Int
)
:
Cylinder.Builder
vertices
Link copied to clipboard
fun
vertices
(
vertices
:
List
<
Geometry.Vertex
>
)
:
Geometry.Builder