Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.mesh.createFromTable

C๐Ÿท๏ธ Mesh

Part of StarfallEx namespace

๐Ÿ”— External
mesh.createFromTable(vertices, threaded)
View on GitHub|lua/starfall/libs_sh/mesh.lua:859
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Creates a mesh from vertex data.

Parameters

NameTypeDescription
verticestableTable containing vertex data. http://wiki.facepunch.com/gmod/Structures/MeshVertex
threaded?booleanOptional bool, use threading object that can be used to load the mesh over time to prevent hitting quota limit. The thread will yield with number of vertices remaining to be processed. After 0 is yielded, the final expensive phase starts.

Returns

TypeDescription
MeshMesh object

Examples

No examples available.

Used In

No usages found in the codebase.