Version: 5.3 (switch to 5.4b)
IdiomaEnglish
  • C#
  • JS

Idioma de script

Selecciona tu lenguaje de programación favorito. Todos los fragmentos de código serán mostrados en este lenguaje.

Mesh.MarkDynamic

Cambiar al Manual
public void MarkDynamic();

Descripción

Optimize mesh for frequent updates.

Call this before assigning vertices to get better performance when continually updating mesh. Internally this will make the mesh use "dynamic buffers" in the underlying graphics API, which are more efficient when mesh data changes often.

See Also: vertices, normals, triangles, UploadMeshData.