Gl2dMesh

open class Gl2dMesh : Gl2dDrawable

Functions

draw
Link copied to clipboard
common
open override fun draw()
Draws this drawable.
getBounds
Link copied to clipboard
common
fun getBounds(rect: RectF)
release
Link copied to clipboard
common
open override fun release()
setPoints
Link copied to clipboard
common
fun setPoints(points: List<PointF>)
fun setPoints(x: List<Float>, y: List<Float>)
setViewportSize
Link copied to clipboard
common
fun setViewportSize(width: Int, height: Int)

Properties

coordsPerVertex
Link copied to clipboard
common
override val coordsPerVertex: Int = 2
Returns the number of position coordinates per vertex.
modelMatrix
Link copied to clipboard
common
val modelMatrix: FloatArray
The model matrix for this object.
vertexArray
Link copied to clipboard
common
open override var vertexArray: FloatBuffer
Returns the array of vertices.
vertexArrayVersion
Link copied to clipboard
common
var vertexArrayVersion: Int = 0
vertexCount
Link copied to clipboard
common
open val vertexCount: Int
Returns the number of vertices stored in the vertex array.
vertexStride
Link copied to clipboard
common
open val vertexStride: Int
Returns the width, in bytes, of the data for each vertex.
viewportHeight
Link copied to clipboard
common
var viewportHeight: Int
viewportWidth
Link copied to clipboard
common
var viewportWidth: Int