ObjMeshDataParser

class ObjMeshDataParser(builder: <Error class: unknown class> = MeshDataBuilder())

A parser of MeshData from Wavefront OBJ format.

Constructors

Link copied to clipboard
fun ObjMeshDataParser(builder: <Error class: unknown class> = MeshDataBuilder())

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun parseArrayMeshData(lines: List<String>): <Error class: unknown class>

Returns a container for the array buffers data related to a single mesh loaded from a Wavefront OBJ format.

Extensions

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(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.

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.