struct Enlighten InstanceProperties

This is the documentation for Enlighten.

struct Enlighten InstanceProperties

struct Enlighten::InstanceProperties

 

The properties of an instance that are relevant to the precompute.

Variables

Name

Description

Name

Description

InstanceLightingType m_Lighting

The way an instance receives Enlighten lighting output.

InstanceShadowType m_Shadow

Whether this instance casts an indirect shadow.

Functions

Name

Description

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.



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.