C# Class CSharpGL.GeometryTypesHelper

Mostrar archivo Open project: bitzhuwei/CSharpGL

Public Methods

Method Description
GetVertexCount ( this type ) : int

Get vertex count of specified geometry's type.

returns -1 if type is PickingGeometryType.Polygon.

ToDrawMode ( this type ) : DrawMode

Method Details

GetVertexCount() public static method

Get vertex count of specified geometry's type.

returns -1 if type is PickingGeometryType.Polygon.

public static GetVertexCount ( this type ) : int
type this
return int

ToDrawMode() public static method

public static ToDrawMode ( this type ) : DrawMode
type this
return DrawMode