This is the documentation for Enlighten.

class Enlighten RadiosityInstance

class Enlighten::RadiosityInstance

    └>Enlighten::InstanceProperties

An instance object, corresponding to an <instance> element in the .scene file.

Classes

Name Description
Enlighten::RadiosityInstance::MaterialOverride

Not documented.

Typedefs

Name Description
Geo::GeoArray< MaterialOverride > MaterialOverrides

An array of MaterialOverride instances.

Variables

Name Description
Geo::GeoFileString m_Geom

The key of the geom this instance references.

Geo::GeoFileString m_Group

The name of the group the instance is associated with.

InstanceGroupType m_GroupType

Whether the instance group can be automatically split by the precompute.

Geo::GeoGuid m_Guid

The globally unique identifier of this instance.

InstanceLightingType m_Lighting

The way an instance receives Enlighten lighting output.

MaterialOverrides m_Materials

Overrides the materials specified in the geom.

Geo::GeoFileString m_Name

The name of this instance.

Geo::GeoFileString m_Paramset

The name of the paramset the instance refers to, found within the .paramset file.

InstanceShadowType m_Shadow

Whether this instance casts an indirect shadow.

ExporterTransform m_Transform

The local to world transform.

Functions

Name Description
InstanceProperties(InstanceLightingType, InstanceShadowType)

Constructor.

LightmapRadiosity()

An instance with these properties is included in the radiosity computation and lit using a lightmap.

ProbeRadiosity()

An instance with these properties is included in the radiosity computation and lit using probes.

RadiosityInstance(Geo::GeoFileString, Geo::GeoFileString, InstanceProperties, InstanceGroupType, Geo::GeoFileString, Geo::GeoFileString, ExporterTransform, MaterialOverrides)

Constructor.


Enlighten::InstanceProperties::InstanceProperties


public: InstanceProperties
(
    InstanceLightingType lighting,
    InstanceShadowType shadow
)


Constructor.


static InstanceProperties Enlighten::InstanceProperties::LightmapRadiosity


public: InstanceProperties LightmapRadiosity()


An instance with these properties is included in the radiosity computation and lit using a lightmap.


static InstanceProperties Enlighten::InstanceProperties::ProbeRadiosity


public: InstanceProperties ProbeRadiosity()


An instance with these properties is included in the radiosity computation and lit using probes.


Enlighten::RadiosityInstance::RadiosityInstance


public: RadiosityInstance
(
    Geo::GeoFileString name,
    Geo::GeoFileString geom,
    InstanceProperties properties,
    InstanceGroupType groupType,
    Geo::GeoFileString group,
    Geo::GeoFileString paramset,
    ExporterTransform transform,
    MaterialOverrides materials
)


Constructor.