toggle menu
SceneView
androidJvm
switch theme
search in API
sceneview
/
io.github.sceneview.geometries
/
Shape
Shape
class
Shape
:
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
color
Link copied to clipboard
var
color
:
Color
?
delaunay
Points
Link copied to clipboard
var
delaunayPoints
:
List
<
Position2
>
index
Buffer
Link copied to clipboard
val
indexBuffer
:
IndexBuffer
indices
Link copied to clipboard
val
indices
:
List
<
Int
>
normal
Link copied to clipboard
var
normal
:
Direction
polygon
Holes
Link copied to clipboard
var
polygonHoles
:
List
<
Int
>
polygon
Path
Link copied to clipboard
var
polygonPath
:
List
<
Position2
>
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
uv
Scale
Link copied to clipboard
var
uvScale
:
UvScale
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
,
polygonPath
:
List
<
Position2
>
=
this.polygonPath
,
polygonHoles
:
List
<
Int
>
=
this.polygonHoles
,
delaunayPoints
:
List
<
Position2
>
=
this.delaunayPoints
,
normal
:
Direction
=
this.normal
,
uvScale
:
UvScale
=
this.uvScale
,
color
:
Color
?
=
this.color
)
:
Shape