ObjMeshDataParser

class ObjMeshDataParser(builder: MeshDataBuilder)

A parser of MeshData from Wavefront OBJ format.

Constructors

ObjMeshDataParser
Link copied to clipboard
common
fun ObjMeshDataParser(builder: MeshDataBuilder = MeshDataBuilder())

Types

Companion
Link copied to clipboard
common
object Companion

Functions

parseArrayMeshData
Link copied to clipboard
common
fun parseArrayMeshData(lines: List<String>): ArrayMeshData
Returns a container for the array buffers data related to a single mesh loaded from a Wavefront OBJ format.

Extensions

parseArrayMeshData
Link copied to clipboard
fun ObjMeshDataParser.parseArrayMeshData(inputStream: InputStream): ArrayMeshData
Returns a container for the array buffers data related to a single mesh loaded from a Wavefront OBJ input.
fun ObjMeshDataParser.parseArrayMeshData(inputStream: InputStream): ArrayMeshData
Returns a container for the array buffers data related to a single mesh loaded from a Wavefront OBJ input.
fun ObjMeshDataParser.parseArrayMeshData(file: File): ArrayMeshData
Returns a container for the array buffers data related to a single mesh loaded from a Wavefront OBJ file.
fun ObjMeshDataParser.parseArrayMeshData(file: File): ArrayMeshData
Returns a container for the array buffers data related to a single mesh loaded from a Wavefront OBJ file.
fun ObjMeshDataParser.parseArrayMeshData(context: Context, fileName: String): ArrayMeshData
Returns a container for the array buffers data related to a single mesh loaded from a Wavefront OBJ asset.
fun ObjMeshDataParser.parseArrayMeshData(context: Context, resId: Int): ArrayMeshData
Returns a container for the array buffers data related to a single mesh loaded from a Wavefront OBJ raw resource.