This is the documentation for Enlighten.
class Enlighten IPrecompMeshValidation
class Enlighten::IPrecompMeshValidation
An interface containing methods for analyzing meshes.
Functions
Name | Description |
|---|---|
Protected to avoid accidental deletion. | |
Check the current mesh for warnings, assuming it is to be used as a detail mesh and thus does not need valid UVs. | |
Check the current mesh for errors. | |
Check the current mesh for warnings, assuming it is to be used as a target mesh and thus must have valid UVs. | |
Create a new mesh validation object allocated on the heap to validate the given mesh. | |
Create(const IPrecompInputMesh *, Geo::IGeoProgressProxy *, PrecompMeshIdentifier) | Create a new mesh validation object allocated on the heap to validate the given mesh. |
Delete this instance. | |
Check that all vertices in the current mesh are actually part of a triangle. | |
Check that the mesh is not empty or entirely topologically degenerate. | |
Check that all triangles have vertex normals all on one side of the geometric normal of that triangle. | |
Check the current mesh for triangle vertex indices that are out of bounds. | |
Check that all triangles have an absolute UV area greater than the given epsilon. | |
Check that all vertex ChartUVs are within [0,1]x[0,1] the precompute can proceed in this case but the IPrecompInputGeometry RadiosityPixelDensity will not have a well defined basis. | |
Check that all vertex normals have been normalized. | |
Check the current mesh for non-finite vertex position, normal and uv values. |
Enums
Name | Description |
|---|---|
Error case bit flags. | |
Warning case bit flags. |
Typedefs
Name | Description |
|---|---|
Geo::GeoArray< Geo::s32 > IndexArray | Collection of vertex indices. |
virtual Enlighten::IPrecompMeshValidation::~IPrecompMeshValidation
protected: virtual ~IPrecompMeshValidation()
Protected to avoid accidental deletion.
virtual Geo::s32 Enlighten::IPrecompMeshValidation::CheckForDetailMeshWarnings
public: Geo::s32 CheckForDetailMeshWarnings()
Check the current mesh for warnings, assuming it is to be used as a detail mesh and thus does not need valid UVs.
Returns
the bitwise or of any relevant WarningCases detected in this mesh.