Class YauiDrawList
The meshes a Yaui.YauiCustomDraw draws in a frame, in order.
Assembly: Yaui.dll
View Source
Declaration
public sealed class YauiDrawList
Properties
Count
View Source
Declaration
public int Count { get; }
Methods
DrawMesh(Mesh, Material, Matrix4x4, int)
Draws a mesh. <code class="paramref">localMatrix</code> maps the mesh to the local space of the element's box (canvas units, origin at the top-left, Y down). The mesh is read when it renders, later in the frame.
View Source
Declaration
public void DrawMesh(Mesh mesh, Material material, Matrix4x4 localMatrix, int submesh = 0)
Parameters
| Type | Name |
|---|---|
Mesh | mesh |
Material | material |
Matrix4x4 | localMatrix |
System.Int32 | submesh |