C# Class UnityEngine.UI.VertexHelper

Inheritance: IDisposable
Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

AddTriangle() public méthode

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.
Résultat void

AddUIVertexQuad() public méthode

Add a quad to the stream.

public AddUIVertexQuad ( UIVertex verts ) : void
verts UnityEngine.UIVertex 4 Vertices representing the quad.
Résultat void

AddUIVertexStream() public méthode

public AddUIVertexStream ( List verts, List indices ) : void
verts List
indices List
Résultat void

AddUIVertexTriangleStream() public méthode

public AddUIVertexTriangleStream ( List verts ) : void
verts List
Résultat void

AddVert() public méthode

Add a single vertex to the stream.

public AddVert ( UIVertex v ) : void
v UnityEngine.UIVertex
Résultat void

AddVert() public méthode

Add a single vertex to the stream.

public AddVert ( Vector3 position, Color32 color, Vector2 uv0 ) : void
position Vector3
color UnityEngine.Color32
uv0 Vector2
Résultat void

AddVert() public méthode

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
Résultat void

Clear() public méthode

Clear all vertices from the stream.

public Clear ( ) : void
Résultat void

Dispose() public méthode

Cleanup allocated memory.

public Dispose ( ) : void
Résultat void

FillMesh() public méthode

Fill the given mesh with the stream data.

public FillMesh ( Mesh mesh ) : void
mesh UnityEngine.Mesh
Résultat void

GetUIVertexStream() public méthode

public GetUIVertexStream ( List stream ) : void
stream List
Résultat void

PopulateUIVertex() public méthode

public PopulateUIVertex ( UIVertex &vertex, int i ) : void
vertex UnityEngine.UIVertex
i int
Résultat void

SetUIVertex() public méthode

Set a UIVertex at the given index.

public SetUIVertex ( UIVertex vertex, int i ) : void
vertex UnityEngine.UIVertex
i int
Résultat void

VertexHelper() public méthode

public VertexHelper ( ) : System
Résultat System

VertexHelper() public méthode

public VertexHelper ( Mesh m ) : System
m UnityEngine.Mesh
Résultat System