toggle menu
SceneView
androidJvm
switch theme
search in API
sceneview
/
io.github.sceneview.geometries
/
Geometry
/
Builder
Builder
open
class
Builder
(
val
primitiveType
:
RenderableManager.PrimitiveType
=
PrimitiveType.TRIANGLES
)
Inheritors
Builder
Builder
Builder
Builder
Builder
Members
Constructors
Builder
Link copied to clipboard
constructor
(
primitiveType
:
RenderableManager.PrimitiveType
=
PrimitiveType.TRIANGLES
)
Properties
primitive
Type
Link copied to clipboard
val
primitiveType
:
RenderableManager.PrimitiveType
Functions
build
Link copied to clipboard
open
fun
build
(
engine
:
Engine
)
:
Geometry
fun
<
T
:
Geometry
>
build
(
engine
:
Engine
,
constructor
:
(
vertexBuffer
:
VertexBuffer
,
indexBuffer
:
IndexBuffer
,
offsets
:
List
<
IntRange
>
,
boundingBox
:
Box
)
->
T
)
:
T
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
vertices
Link copied to clipboard
fun
vertices
(
vertices
:
List
<
Geometry.Vertex
>
)
:
Geometry.Builder