기술 자료

Unity Engine

Unity Engine

SetVertices

Set the vertices for the CanvasRenderer.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.UIModule

SetVertices(List<UIVertex>)

Set the vertices for the CanvasRenderer.
경고
Deprecated. UI System now uses meshes.Generate a mesh and use 'SetMesh' instead
public void SetVertices(List<UIVertex> vertices)

Parameters

Array of vertices to set.

SetVertices(UIVertex[], int)

Set the vertices for the CanvasRenderer.
경고
Deprecated. UI System now uses meshes.Generate a mesh and use 'SetMesh' instead
public void SetVertices(UIVertex[] vertices, int size)

Parameters

vertices

Array of vertices to set.

size

Number of vertices to set.