SplitUIVertexStreams
Given a list of UIVertex, split the stream into its component types.
Read time 3 minutesLast updated 5 hours ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.UIModule
SplitUIVertexStreams(List<UIVertex>, List<Vector3>, List<Color32>, List<Vector4>, List<Vector4>, List<Vector3>, List<Vector4>, List<int>)
Given a list of UIVertex, split the stream into its component types.
public static void SplitUIVertexStreams(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
The UIVertex list to split.
The destination list for the vertex positions.
The destination list for the vertex colors.
The destination list for the vertex uv0s.
The destination list for the vertex uv1s.
The destination list for the vertex normals.
The destination list for the vertex tangents.
The destination list for the triangle indices.
SplitUIVertexStreams(List<UIVertex>, List<Vector3>, List<Color32>, List<Vector4>, List<Vector4>, List<Vector4>, List<Vector4>, List<Vector3>, List<Vector4>, List<int>)
Given a list of UIVertex, split the stream into its component types.
public static void SplitUIVertexStreams(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
The UIVertex list to split.
The destination list for the vertex positions.
The destination list for the vertex colors.
The destination list for the vertex uv0s.
The destination list for the vertex uv1s.
The destination list for the vertex uv2s.
The destination list for the vertex uv3s.
The destination list for the vertex normals.
The destination list for the vertex tangents.
The destination list for the triangle indices.
SplitUIVertexStreams(List<UIVertex>, List<Vector3>, List<Color32>, List<Vector4>, List<Vector4>, List<Vector4>, List<Vector4>, List<Vector3>, List<Vector4>, List<Vector4>, List<int>)
Given a list of UIVertex, split the stream into its component types.
public static void SplitUIVertexStreams(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
The UIVertex list to split.
The destination list for the vertex positions.
The destination list for the vertex colors.
The destination list for the vertex uv0s.
The destination list for the vertex uv1s.
The destination list for the vertex uv2s.
The destination list for the vertex uv3s.
The destination list for the vertex normals.
The destination list for the vertex tangents.
The destination list for the previous vertex positions.
The destination list for the triangle indices.