C# Class Afterglow.Graphics.TriangleParser

Parser for the triangle element.
Show file Open project: Christof/afterglow

Public Methods

Method Description
Parse ( ) : GraphicStreamContainer
ParseInput ( System.Xml.Linq.XElement element ) : Input

Parses an input element.

ParseInputs ( ) : IEnumerable

Parses all input elements in the triangle element.

ParseUIntArray ( System.Xml.Linq.XElement intArray ) : IEnumerable

Parses the given element as int array.

TriangleParser ( System.Xml.Linq.XElement meshElement ) : System

Initializes a new instance of the TriangleParser class.

Method Details

Parse() public method

public Parse ( ) : GraphicStreamContainer
return GraphicStreamContainer

ParseInput() public method

Parses an input element.
public ParseInput ( System.Xml.Linq.XElement element ) : Input
element System.Xml.Linq.XElement The input element.
return Input

ParseInputs() public method

Parses all input elements in the triangle element.
public ParseInputs ( ) : IEnumerable
return IEnumerable

ParseUIntArray() public static method

Parses the given element as int array.
public static ParseUIntArray ( System.Xml.Linq.XElement intArray ) : IEnumerable
intArray System.Xml.Linq.XElement The element containing the int array.
return IEnumerable

TriangleParser() public method

Initializes a new instance of the TriangleParser class.
public TriangleParser ( System.Xml.Linq.XElement meshElement ) : System
meshElement System.Xml.Linq.XElement The triangle element.
return System