# CreateUIVertexStream

> Convert a set of vertex components into a stream of UIVertex.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/7000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.UIModule

## CreateUIVertexStream(List\<UIVertex>, List\<Vector3>, List\<Color32>, List\<Vector4>, List\<Vector4>, List\<Vector3>, List\<Vector4>, List\<int>)

Convert a set of vertex components into a stream of UIVertex.

```csharp
public static void CreateUIVertexStream(List<UIVertex> verts, List<Vector3> positions, List<Color32> colors, List<Vector4> uv0S, List<Vector4> uv1S, List<Vector3> normals, List<Vector4> tangents, List<int> indices)
```

### Parameters

**** (\[List\<UIVertex>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): The destination list for the created UIVertex stream.**** (\[List\<Vector3>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): The source list of vertex positions.**** (\[List\<Color32>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): The source list of vertex colors.**** (\[List\<Vector4>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): The source list of vertex uv0s.**** (\[List\<Vector4>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): The source list of vertex uv1s.**** (\[List\<Vector3>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): The source list of vertex normals.**** (\[List\<Vector4>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): The source list of vertex tangents.**** (\[List\<int>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): The source list of triangle indices.

## CreateUIVertexStream(List\<UIVertex>, List\<Vector3>, List\<Color32>, List\<Vector4>, List\<Vector4>, List\<Vector4>, List\<Vector4>, List\<Vector3>, List\<Vector4>, List\<int>)

Convert a set of vertex components into a stream of UIVertex.

```csharp
public static void CreateUIVertexStream(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, List<int> indices)
```

### Parameters

**** (\[List\<UIVertex>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): The destination list for the created UIVertex stream.**** (\[List\<Vector3>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): The source list of vertex positions.**** (\[List\<Color32>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): The source list of vertex colors.**** (\[List\<Vector4>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): The source list of vertex uv0s.**** (\[List\<Vector4>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): The source list of vertex uv1s.**** (\[List\<Vector4>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): The source list of vertex uv2s.**** (\[List\<Vector4>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): The source list of vertex uv3s.**** (\[List\<Vector3>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): The source list of vertex normals.**** (\[List\<Vector4>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): The source list of vertex tangents.**** (\[List\<int>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): The source list of triangle indices.

## CreateUIVertexStream(List\<UIVertex>, List\<Vector3>, List\<Color32>, List\<Vector4>, List\<Vector4>, List\<Vector4>, List\<Vector4>, List\<Vector3>, List\<Vector4>, List\<Vector4>, List\<int>)

Convert a set of vertex components into a stream of UIVertex.

```csharp
public static void CreateUIVertexStream(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, List<Vector4> prevPositions, List<int> indices)
```

### Parameters

**** (\[List\<UIVertex>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): The destination list for the created UIVertex stream.**** (\[List\<Vector3>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): The source list of vertex positions.**** (\[List\<Color32>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): The source list of vertex colors.**** (\[List\<Vector4>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): The source list of vertex uv0s.**** (\[List\<Vector4>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): The source list of vertex uv1s.**** (\[List\<Vector4>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): The source list of vertex uv2s.**** (\[List\<Vector4>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): The source list of vertex uv3s.**** (\[List\<Vector3>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): The source list of vertex normals.**** (\[List\<Vector4>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): The source list of vertex tangents.**** (\[List\<Vector4>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): The source list of vertex previous positions.**** (\[List\<int>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): The source list of triangle indices.
