AddUIVertexStream
Take the UIVertex stream and split it into the corresponding arrays (positions, colors, uv0s, uv1s, normals and tangents).
阅读时间3 分钟最后更新于 21 天前
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 UIVertex stream and split it into the corresponding 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 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.
AddUIVertexStream(List<UIVertex>, List<Vector3>, List<Color32>, List<Vector4>, List<Vector4>, List<Vector4>, List<Vector4>, List<Vector3>, List<Vector4>)
Take the UIVertex stream and split it into the corresponding arrays (positions, colors, uv0s, uv1s, uv2s, uv3s, 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 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.
AddUIVertexStream(List<UIVertex>, List<Vector3>, List<Color32>, List<Vector4>, List<Vector4>, List<Vector4>, List<Vector4>, List<Vector3>, List<Vector4>, List<Vector4>)
Take the UIVertex stream and split it into the corresponding arrays (positions, colors, uv0s, uv1s, uv2s, uv3s, normals, tangents and previous positions).
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, List<Vector4> prevPositions)
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.