Mesh
Description
Returns a new static mesh object.
Arguments
1 IMaterial mat = nil
The material the mesh is intended to be rendered with. It's merely a hint that tells that mesh what vertex format it should use.
Returns
This function does not work with "WorldVertexTransition" materials, UnlitGeneric works, however VertexLitGeneric suffers shading issues as well.
Example
Draws a triangle near Vector( 0, 0, 0 ) in the map.