This is the documentation for Enlighten.

class Enlighten PipelineRadiosityInstance

class Enlighten::PipelineRadiosityInstance

    └>Enlighten::PipelineRadiosityProperties

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

Classes

Name Description
Enlighten::PipelineRadiosityInstance::MaterialOverride

Overrides the nth material of each mesh with the geometry object.

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.

PipelineRadiosityGroupType m_GroupType

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

Geo::GeoGuid m_Guid

The globally unique identifier of this instance.

PipelineRadiosityLightingType 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.

PipelineRadiosityShadowType m_Shadow

Whether this instance casts an indirect shadow.

PipelineTransform m_Transform

The local to world transform.

Functions

Name Description
LightmapRadiosity()

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

PipelineRadiosityInstance(Geo::GeoFileString, Geo::GeoFileString, PipelineRadiosityProperties, PipelineRadiosityGroupType, Geo::GeoFileString, Geo::GeoFileString, PipelineTransform, MaterialOverrides)

Constructor.

PipelineRadiosityProperties(PipelineRadiosityLightingType, PipelineRadiosityShadowType)

Constructor.

ProbeRadiosity()

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


static PipelineRadiosityProperties Enlighten::PipelineRadiosityProperties::LightmapRadiosity


public: PipelineRadiosityProperties LightmapRadiosity()


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


Enlighten::PipelineRadiosityInstance::PipelineRadiosityInstance


public: PipelineRadiosityInstance
(
    Geo::GeoFileString name,
    Geo::GeoFileString geom,
    PipelineRadiosityProperties properties,
    PipelineRadiosityGroupType groupType,
    Geo::GeoFileString group,
    Geo::GeoFileString paramset,
    PipelineTransform transform,
    MaterialOverrides materials
)


Constructor.


Enlighten::PipelineRadiosityProperties::PipelineRadiosityProperties


public: PipelineRadiosityProperties
(
    PipelineRadiosityLightingType lighting,
    PipelineRadiosityShadowType shadow
)


Constructor.


static PipelineRadiosityProperties Enlighten::PipelineRadiosityProperties::ProbeRadiosity


public: PipelineRadiosityProperties ProbeRadiosity()


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