기술 자료

Unity Engine

Unity Engine

AddUIVertexStream

Take the UIVertex stream and split it into the corresponding arrays (positions, colors, uv0s, uv1s, normals and tangents).
읽는 시간 2분최근 업데이트: 한 달 전

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.

positions

The destination list for the verts positions.

The destination list for the verts colors.

The destination list for the verts uv0s.

The destination list for the verts uv1s.

The destination list for the verts normals.

The destination list for the verts 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

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