This is the documentation for Enlighten.

class Enlighten PipelineGeom

class Enlighten::PipelineGeom

    └>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< PipelineMesh > 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.

Geo::s32 m_SimpMaxNumSimps

The maximum number of simplifications to try before choosing the best.

eAutoSimpMode m_SimpMode

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

Geo::s32 m_SimpNumIterationsPerSimp

The number of iterations to allow per simplification.

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::PipelineGeom::PipelineGeom


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


Constructor.