This is the documentation for Enlighten.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

struct Geo::AtlasMeshTriangle

An AtlasMesh consists of a number of triangle faces, each composed of three vertices.

Each triangle can have a material assigned to it, which can be used to describe regions of the mesh that should be kept together in the UV atlas. Regions containing different materials will always be packed separately, and may require some duplication of the vertices so that this can be enforced (XXX see ....).

Variables

Name Description
u64 materialId

An identifier for the "material" bound to the triangle (see above).

Functions

Name Description
IsTopologicalDegenerate()

Returns true if the triangle does not reference 3 unique vertex indices.


bool Geo::AtlasMeshTriangle::IsTopologicalDegenerate


public: bool IsTopologicalDegenerate() const


Returns true if the triangle does not reference 3 unique vertex indices.

  • No labels