기술 자료

Unity Engine

Unity Engine

SetVertices(NativeSlice<Vertex>)

Replace this draw's vertices.
읽는 시간 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.