Garry's Mod Wiki

Revision Difference

IMesh:BuildFromTriangles#551655

<function name="BuildFromTriangles" parent="IMesh" type="classfunc"> <description> Builds the mesh from a table mesh vertexes. ⤶ When modifying a previously built mesh, your new mesh must match the vertex count!⤶ See <page>Global.Mesh</page> and <page>util.GetModelMeshes</page> for examples. </description> <realm>Client</realm> <args> <arg name="vertexes" type="table">A table consisting of <page>Structures/MeshVertex</page>s.</arg> </args> </function>