Part of StarfallEx namespace
๐ External
mesh.createFromObj(obj, threaded, triangulate)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Creates a mesh from an obj file. Only supports triangular meshes with normals and texture coordinates.
Parameters
| Name | Type | Description |
|---|---|---|
obj | string | The obj file data |
threaded? | boolean | Optional bool, use threading object that can be used to load the mesh over time to prevent hitting quota limit |
triangulate? | boolean | Whether to triangulate faces. (Consumes more CPU) |
Returns
| Type | Description |
|---|---|
table | Table of Mesh objects. The keys correspond to the objs object names |
Examples
No examples available.
Used In
No usages found in the codebase.