Table of Contents

Struct WebGLData

Namespace
CADability
Assembly
CADability.dll

A triangle mesh with a single colour, as IConvertForWebGL objects provide it to ExportToWebGl.

public struct WebGLData
Inherited Members

Fields

color

The colour of the mesh as an ARGB value (see ToArgb()).

public int color

Field Value

int

indices

Indices into vertices, three per triangle.

public int[] indices

Field Value

int[]

normals

The normals at the vertices, one per entry of vertices.

public GeoVector[] normals

Field Value

GeoVector[]

vertices

The vertices of the mesh in model coordinates.

public GeoPoint[] vertices

Field Value

GeoPoint[]