C# 클래스 UnityEngine.UI.VertexHelper

상속: IDisposable
파일 보기 프로젝트 열기: CarlosHBC/UnityDecompiled 1 사용 예제들

공개 메소드들

메소드 설명
AddTriangle ( int idx0, int idx1, int idx2 ) : void

Add a triangle to the buffer.

AddUIVertexQuad ( UIVertex verts ) : void

Add a quad to the stream.

AddUIVertexStream ( List verts, List indices ) : void
AddUIVertexTriangleStream ( List verts ) : void
AddVert ( UIVertex v ) : void

Add a single vertex to the stream.

AddVert ( Vector3 position, Color32 color, Vector2 uv0 ) : void

Add a single vertex to the stream.

AddVert ( Vector3 position, Color32 color, Vector2 uv0, Vector2 uv1, Vector3 normal, Vector4 tangent ) : void

Add a single vertex to the stream.

Clear ( ) : void

Clear all vertices from the stream.

Dispose ( ) : void

Cleanup allocated memory.

FillMesh ( Mesh mesh ) : void

Fill the given mesh with the stream data.

GetUIVertexStream ( List stream ) : void
PopulateUIVertex ( UIVertex &vertex, int i ) : void
SetUIVertex ( UIVertex vertex, int i ) : void

Set a UIVertex at the given index.

VertexHelper ( ) : System
VertexHelper ( Mesh m ) : System

메소드 상세

AddTriangle() 공개 메소드

Add a triangle to the buffer.

public AddTriangle ( int idx0, int idx1, int idx2 ) : void
idx0 int Index 0.
idx1 int Index 1.
idx2 int Index 2.
리턴 void

AddUIVertexQuad() 공개 메소드

Add a quad to the stream.

public AddUIVertexQuad ( UIVertex verts ) : void
verts UnityEngine.UIVertex 4 Vertices representing the quad.
리턴 void

AddUIVertexStream() 공개 메소드

public AddUIVertexStream ( List verts, List indices ) : void
verts List
indices List
리턴 void

AddUIVertexTriangleStream() 공개 메소드

public AddUIVertexTriangleStream ( List verts ) : void
verts List
리턴 void

AddVert() 공개 메소드

Add a single vertex to the stream.

public AddVert ( UIVertex v ) : void
v UnityEngine.UIVertex
리턴 void

AddVert() 공개 메소드

Add a single vertex to the stream.

public AddVert ( Vector3 position, Color32 color, Vector2 uv0 ) : void
position Vector3
color UnityEngine.Color32
uv0 Vector2
리턴 void

AddVert() 공개 메소드

Add a single vertex to the stream.

public AddVert ( Vector3 position, Color32 color, Vector2 uv0, Vector2 uv1, Vector3 normal, Vector4 tangent ) : void
position Vector3
color UnityEngine.Color32
uv0 Vector2
uv1 Vector2
normal Vector3
tangent Vector4
리턴 void

Clear() 공개 메소드

Clear all vertices from the stream.

public Clear ( ) : void
리턴 void

Dispose() 공개 메소드

Cleanup allocated memory.

public Dispose ( ) : void
리턴 void

FillMesh() 공개 메소드

Fill the given mesh with the stream data.

public FillMesh ( Mesh mesh ) : void
mesh UnityEngine.Mesh
리턴 void

GetUIVertexStream() 공개 메소드

public GetUIVertexStream ( List stream ) : void
stream List
리턴 void

PopulateUIVertex() 공개 메소드

public PopulateUIVertex ( UIVertex &vertex, int i ) : void
vertex UnityEngine.UIVertex
i int
리턴 void

SetUIVertex() 공개 메소드

Set a UIVertex at the given index.

public SetUIVertex ( UIVertex vertex, int i ) : void
vertex UnityEngine.UIVertex
i int
리턴 void

VertexHelper() 공개 메소드

public VertexHelper ( ) : System
리턴 System

VertexHelper() 공개 메소드

public VertexHelper ( Mesh m ) : System
m UnityEngine.Mesh
리턴 System