Package graphics.glimpse.meshes.obj

Utilities for building mesh from Wavefront OBJ file.

Utilities for building mesh from Wavefront OBJ file.

Utilities for building mesh from Wavefront OBJ file.

Types

Link copied to clipboard
class ObjMeshDataParser(builder: MeshDataBuilder = MeshDataBuilder())

A parser of MeshData from Wavefront OBJ format.

Functions

Link copied to clipboard
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(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(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(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(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(inputStream: InputStream): ArrayMeshData

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