Format
typescript
Graphics.DrawMeshNow(world, mesh, mtl)class: Graphics
Description
Immediately draws a mesh.
This function immediately draws the given mesh. The currently set shader and material will be used.
The mesh will be drawn only once, it will not be lit per pixel, and it will not cast or receive real-time shadows. If you want full integration with lighting and shadows, use Graphics.DrawMesh instead.
Parameters
| param_name | type | description |
|---|---|---|
| world | Matrix4x4 | World coordinate matrix |
| mesh | Mesh | The mesh to be drawn |
| mtl | Material | The texture to be used when drawing the mesh |
Return
| type | description |
|---|---|
void |
