This is the documentation for Enlighten.

class Enlighten ExporterGeom

class Enlighten::ExporterGeom

    └>Enlighten::PipelineGeometryProperties

A geometry object, corresponding to a single .geom file.

Variables

Name Description
Geo::GeoFileString m_Comment

The comment to include in the .geom file.

bool m_IsTerrain

True if this geometry object is a terrain patch.

Geo::s32 m_LodCount

The number of lightmap LODs to generate for this geometry object.

Geo::GeoArray< ExporterMesh > m_Meshes

The mesh objects within the geometry object.

Geo::GeoFileString m_Name

The name of the geometry object.

float m_SimpExpansionFactor

The bounding box expansion when detecting which input charts overlap.

float m_SimpMaxDistance

The maximum distance in world units allowed between input charts for Enlighten to consider merging them.

float m_SimpMaxGeneralNormalDeviation

The maximum angular deviation in degrees allowed between input charts and projection planes.

float m_SimpMaxInitialNormalDeviation

The maximum angular deviation in degrees allowed between input charts for Enlighten considers them candidates for projection plane creation.

eAutoSimpMode m_SimpMode

Use this to prevent, allow or force the use of manually authored UVs.

float m_SimpSignificantAreaRatio

The ratio of the chart area within which normals point at more than 90 degrees from the chart principal normal to the area of the chart above which the chart is considered curved. Also a ratio of the chart area to the area of the merged group below which the chart is considered insignificant.

Functions


static PipelineGeometryProperties Enlighten::PipelineGeometryProperties::Default


public: PipelineGeometryProperties Default()


The default values.


Enlighten::ExporterGeom::ExporterGeom


public: ExporterGeom
(
    Geo::GeoFileString name,
    Geo::GeoFileString comment,
    PipelineGeometryProperties geomProperties,
    Geo::GeoArray< ExporterMesh > meshes,
    bool isTerrain,
    Geo::s32 lodCount
)


Constructor.