toggle menu
SceneView
androidJvm
switch theme
search in API
sceneview
/
io.github.sceneview.geometries
/
Plane
/
Builder
Builder
class
Builder
:
Geometry.Builder
Members
Constructors
Builder
Link copied to clipboard
constructor
(
)
Properties
center
Link copied to clipboard
var
center
:
Position
normal
Link copied to clipboard
var
normal
:
Direction
primitive
Type
Link copied to clipboard
val
primitiveType
:
RenderableManager.PrimitiveType
size
Link copied to clipboard
var
size
:
Size
uv
Scale
Link copied to clipboard
var
uvScale
:
UvScale
Functions
build
Link copied to clipboard
fun
<
T
:
Geometry
>
build
(
engine
:
Engine
,
constructor
:
(
vertexBuffer
:
VertexBuffer
,
indexBuffer
:
IndexBuffer
,
offsets
:
List
<
IntRange
>
,
boundingBox
:
Box
)
->
T
)
:
T
open
override
fun
build
(
engine
:
Engine
)
:
Plane
center
Link copied to clipboard
fun
center
(
center
:
Position
)
:
Plane.Builder
Center of the constructed plane
indices
Link copied to clipboard
fun
indices
(
indices
:
List
<
Int
>
)
:
Geometry.Builder
normal
Link copied to clipboard
fun
normal
(
normal
:
Direction
)
:
Plane.Builder
Looking at direction
primitives
Indices
Link copied to clipboard
fun
primitivesIndices
(
indices
:
List
<
List
<
Int
>
>
)
:
Geometry.Builder
size
Link copied to clipboard
fun
size
(
size
:
Size
)
:
Plane.Builder
Size of the constructed plane
uv
Scale
Link copied to clipboard
fun
uvScale
(
uvScale
:
UvScale
)
:
Plane.Builder
UVs coordinates
vertices
Link copied to clipboard
fun
vertices
(
vertices
:
List
<
Geometry.Vertex
>
)
:
Geometry.Builder