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