Part of StarfallEx namespace
๐ External
mesh.generate(mesh_obj, prim_type, prim_count, func)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Generates mesh data. If an Mesh object is passed, it will populate that mesh with the data. Otherwise, it will render directly to renderer.
Parameters
| Name | Type | Description |
|---|---|---|
mesh_obj? | Mesh | Optional Mesh object, mesh to build. (default: nil) |
prim_type | number | Int, primitive type, see MATERIAL |
prim_count | number | Int, the amount of primitives |
func | function | The function provided that will generate the mesh vertices |
Returns
No return values documented.
Examples
No examples available.
Used In
No usages found in the codebase.