ドキュメント

Unity Engine

Unity Engine

SetVertices(NativeSlice<Vertex>)

Replace this draw's vertices.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.