Version: 2022.3

CanvasRenderer.AddUIVertexStream(List<UIVertex>,List<Vector3>,List<Color32>,List<Vector2>,List<Vector2>,List<Vector3>,List<Vector4>)

切换到手册

参数

verts 要拆分的 UIVertex 列表。
positions 顶点位置的目标列表。
colors 顶点颜色的目标列表。
uv0S 顶点 uv0s 的目标列表。
uv1S 顶点 uv1s 的目标列表。
normals 顶点法线的目标列表。
tangents 顶点切线的目标列表。

描述

Take the Vertex stream and split it corrisponding arrays (positions, colors, uv0s, uv1s, normals and tangents).