Class GuiMeshBuilder
  
  
  
    Inheritance
    
    GuiMeshBuilder
   
  
  
  Assembly: Ritchie.Toolbox.dll
  
  
    public sealed class GuiMeshBuilder
   
  Constructors
  
  GuiMeshBuilder(GeometryHelper, Texture2D?, SamplerState, bool)
  
  
  Declaration
  
    public GuiMeshBuilder(GeometryHelper geometry, Texture2D? texture, SamplerState samplerState, bool desaturate)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | GeometryHelper | geometry |  | 
      
        | Texture2D | texture |  | 
      
        | SamplerState | samplerState |  | 
      
        | bool | desaturate |  | 
    
  
  Properties
  
  
  
  
  Declaration
  
    public bool IsEmpty { get; }
   
  Property Value
  
  
  
  
  
  Declaration
  
    public VertexPositionColorTexture this[int index] { get; }
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | int | index |  | 
    
  
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | VertexPositionColorTexture |  | 
    
  
  Methods
  
  
  
  
  Declaration
  
    public void AddQuad(int a, int b, int c, int d)
   
  Parameters
  
  
  
  
  
  Declaration
  
    public void AddTriangle(int a, int b, int c)
   
  Parameters
  
  
  AddVertex(VertexPositionColorTexture)
  
  
  Declaration
  
    public int AddVertex(VertexPositionColorTexture vertex)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | VertexPositionColorTexture | vertex |  | 
    
  
  Returns
  
  
  
  
  
  Declaration
  
    public int AddVertex(Vector2 position, Color color)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | Vector2 | position |  | 
      
        | Color | color |  | 
    
  
  Returns
  
  
  
  
  
  Declaration
  
    public int AddVertex(Vector2 position, Color color, Vector2 texCoord)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | Vector2 | position |  | 
      
        | Color | color |  | 
      
        | Vector2 | texCoord |  | 
    
  
  Returns
  
  
  
  
  
  Declaration
  
    public int AddVertex(Vector3 position, Color color)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | Vector3 | position |  | 
      
        | Color | color |  | 
    
  
  Returns
  
  
  
  
  
  Declaration
  
    public int AddVertex(Vector3 position, Color color, Vector2 texCoord)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | Vector3 | position |  | 
      
        | Color | color |  | 
      
        | Vector2 | texCoord |  | 
    
  
  Returns
  
  
  
  
  
  Declaration