Version: Unity 7.0 Alpha (7000.0)
LanguageEnglish
  • C#

CanvasRenderer.CreateUIVertexStream

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

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

Parameter Description
verts The destination list for the created UIVertex stream.
positions The source list of vertex positions.
colors The source list of vertex colors.
uv0S The source list of vertex uv0s.
uv1S The source list of vertex uv1s.
normals The source list of vertex normals.
tangents The source list of vertex tangents.
indices The source list of triangle indices.

Description

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


Declaration

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

Parameter Description
verts The destination list for the created UIVertex stream.
positions The source list of vertex positions.
colors The source list of vertex colors.
uv0S The source list of vertex uv0s.
uv1S The source list of vertex uv1s.
uv2S The source list of vertex uv2s.
uv3S The source list of vertex uv3s.
normals The source list of vertex normals.
tangents The source list of vertex tangents.
indices The source list of triangle indices.

Description

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


Declaration

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

Parameter Description
verts The destination list for the created UIVertex stream.
positions The source list of vertex positions.
colors The source list of vertex colors.
uv0S The source list of vertex uv0s.
uv1S The source list of vertex uv1s.
uv2S The source list of vertex uv2s.
uv3S The source list of vertex uv3s.
normals The source list of vertex normals.
tangents The source list of vertex tangents.
prevPositions The source list of vertex previous positions.
indices The source list of triangle indices.

Description

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