klyn.graphics3d.Mesh.Mesh
constructor
public Mesh(name as String, vertices as IList<Float>, indices as IList<UInt>)
Description

Validates and copies geometry; normals must be finite and nonzero.

Throws
  • ValueException For invalid layout, coordinates, indices or normals. Example: mesh = Mesh("part", vertices, indices)