AddUIVertexStream
Take the Vertex stream and split it corrisponding arrays (positions, colors, uv0s, uv1s, normals and tangents).
Read time 2 minutesLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.UIModule
AddUIVertexStream(List<UIVertex>, List<Vector3>, List<Color32>, List<Vector4>, List<Vector4>, List<Vector3>, List<Vector4>)
Take the Vertex stream and split it corrisponding arrays (positions, colors, uv0s, uv1s, normals and tangents).
public static void AddUIVertexStream(List<UIVertex> verts, List<Vector3> positions, List<Color32> colors, List<Vector4> uv0S, List<Vector4> uv1S, List<Vector3> normals, List<Vector4> tangents)
Parameters
The UIVertex list to split.
The destination list for the verts positions.
The destination list for the verts colors.
The destination list for the verts uv0s.
The destination list for the verts uv1s.
The destination list for the verts normals.
The destination list for the verts tangents.
AddUIVertexStream(List<UIVertex>, List<Vector3>, List<Color32>, List<Vector4>, List<Vector4>, List<Vector4>, List<Vector4>, List<Vector3>, List<Vector4>)
Take the Vertex stream and split it corrisponding arrays (positions, colors, uv0s, uv1s, normals and tangents).
public static void AddUIVertexStream(List<UIVertex> verts, List<Vector3> positions, List<Color32> colors, List<Vector4> uv0S, List<Vector4> uv1S, List<Vector4> uv2S, List<Vector4> uv3S, List<Vector3> normals, List<Vector4> tangents)
Parameters
The UIVertex list to split.
The destination list for the verts positions.
The destination list for the verts colors.
The destination list for the verts uv0s.
The destination list for the verts uv1s.
The destination list for the verts normals.
The destination list for the verts tangents.