mesh.Begin
Description
Starts constructing a new 3D mesh constructed from a given number of primitives in a given primitive format.
The resulting mesh can be stored in an IMesh if it is intended to be drawn multiple times or on multiple frames.
Default Arguments
1 number primitiveType
An enum that indicates what the format of the mesh's primitives will be.
For a full list of the available options, see the MATERIAL enum.
For a full list of the available options, see the MATERIAL enum.
Argument Overload: Building an IMesh
2 number primitiveType
An enum that indicates what the format of the mesh's primitives will be.
For a full list of the available options, see the MATERIAL enum.
For a full list of the available options, see the MATERIAL enum.
3 number primitiveCount
The quantity of primitives this mesh will contain, as a whole integer number.
Example
Draws a triangle near Vector( 0, 0, 0 ) in the map using a dynamic mesh, a dynamic mesh is good for animated meshes, or otherwise frequently changed rendered meshes.
Example
Draws a triangle near Vector( 0, 0, 0 ) in the map using a static mesh, that is, a mesh that is only created once, which is good for performance.