ArrayMeshData

data class ArrayMeshData(val vertexCount: Int, val positionsData: FloatBufferData, val texCoordsData: FloatBufferData, val normalsData: FloatBufferData, val tangentsData: FloatBufferData, val bitangentsData: FloatBufferData) : MeshData

A container for the array buffers data related to a single mesh, without indices.

Constructors

Link copied to clipboard
constructor(vertexCount: Int, positionsData: FloatBufferData, texCoordsData: FloatBufferData, normalsData: FloatBufferData, tangentsData: FloatBufferData, bitangentsData: FloatBufferData)

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int

Properties

Link copied to clipboard
open override val bitangentsData: FloatBufferData

Buffer data for vertices bitangent vectors.

Link copied to clipboard
open override val indicesBufferData: IntBufferData? = null

No indices data.

Link copied to clipboard
open override val normalsData: FloatBufferData

Buffer data for vertices normal vectors.

Link copied to clipboard
open override val positionsData: FloatBufferData

Buffer data for vertices positions.

Link copied to clipboard
open override val tangentsData: FloatBufferData

Buffer data for vertices tangent vectors.

Link copied to clipboard
open override val texCoordsData: FloatBufferData

Buffer data for vertices texture coordinates.

Link copied to clipboard
open override val vertexCount: Int

Number of vertices defined for the mesh.