Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetVertices(NativeSlice<Vertex>)

Replace this draw's vertices.
Read time 1 minuteLast updated 11 days ago

Definition

public void SetVertices(NativeSlice<Vertex> vertices)

Parameters

Remarks

The new slice can be any length greater than 0, but all currently-attached non-empty extras must already match the new vertex count, or this call is logged and rejected. To resize vertices and extras together, use DrawData.SetMesh.