文档

Unity Engine

Unity Engine

CreateUIVertexStream

Convert a set of vertex components into a stream of UIVertex.
阅读时间3 分钟最后更新于 21 天前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • 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.
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

The destination list for the created UIVertex stream.

positions

The source list of vertex positions.

The source list of vertex colors.

The source list of vertex uv0s.

The source list of vertex uv1s.

The source list of vertex normals.

The source list of vertex tangents.

indices

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.
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

The destination list for the created UIVertex stream.

positions

The source list of vertex positions.

The source list of vertex colors.

The source list of vertex uv0s.

The source list of vertex uv1s.

The source list of vertex uv2s.

The source list of vertex uv3s.

The source list of vertex normals.

The source list of vertex tangents.

indices

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.
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

The destination list for the created UIVertex stream.

positions

The source list of vertex positions.

The source list of vertex colors.

The source list of vertex uv0s.

The source list of vertex uv1s.

The source list of vertex uv2s.

The source list of vertex uv3s.

The source list of vertex normals.

The source list of vertex tangents.

prevPositions

The source list of vertex previous positions.

indices

The source list of triangle indices.