SetVertices(NativeSlice<Vertex>)
Replace this draw's vertices.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
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.