# CreateUIVertexStream

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

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.7/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)): **** (\[List\<Vector3>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): **** (\[List\<Color32>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): **** (\[List\<Vector4>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): **** (\[List\<Vector4>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): **** (\[List\<Vector3>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): **** (\[List\<Vector4>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): **** (\[List\<int>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)):&#x20;

## 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)): **** (\[List\<Vector3>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): **** (\[List\<Color32>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): **** (\[List\<Vector4>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): **** (\[List\<Vector4>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): **** (\[List\<Vector4>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): **** (\[List\<Vector4>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): **** (\[List\<Vector3>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): **** (\[List\<Vector4>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): **** (\[List\<int>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)):&#x20;

## 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)): **** (\[List\<Vector3>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): **** (\[List\<Color32>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): **** (\[List\<Vector4>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): **** (\[List\<Vector4>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): **** (\[List\<Vector4>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): **** (\[List\<Vector4>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): **** (\[List\<Vector3>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): **** (\[List\<Vector4>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): **** (\[List\<Vector4>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): **** (\[List\<int>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)):&#x20;
