class Enlighten BakeMaterialInfo

This is the documentation for Enlighten.

class Enlighten BakeMaterialInfo

class Enlighten::BakeMaterialInfo

The material description for baking.

Functions

Name

Description

Name

Description

ConvertToOpacityBasedOnMode(const Geo::v128 &)

Convert the transparency/opacity based on TransparencyOrOpacityMode.

ConvertToTransparencyBasedOnMode(const Geo::v128 &)

Returns the Opacity colour.

GetOpacityColourBasedOnMode()

Returns the Transparency colour.

GetTransparencyColourBasedOnMode()

Returns the Opacity colour.

Variables

Name

Description

Name

Description

ePrecompMaterialBackfaceBehaviourType BackfaceBehaviourType

How backfaces should behave.

float NormalScale

Scale applied to normal to exaggerate normal perturbation.

GeoTextureString NormalTexture

Texture defining tangent-space normal-mapping.

Geo::v128 NormalUvOffset

Offset applied to UVs used for normal-mapping. This is applied after the UV scale.

Geo::v128 NormalUvScale

Scale applied to UVs used for normal-mapping.

eShadowfaceBehaviourType ShadowfaceBehaviourType

Shadow casting faces.

Geo::v128 TransparencyOrOpacityColour

Solid colour material transparency/opacity. Not used if a texture is defined.

eTransparencyOrOpacityMode TransparencyOrOpacityMode

Returns the Transparency colour.

GeoTextureString TransparencyOrOpacityTexture

Texture defining the transparency/opacity over the material. UVs are taken from channel 0 (the albedo channel).

Geo::v128 TransparencyOrOpacityUvOffset

Offset applied to UVs used for transparency/opacity texture.

Geo::v128 TransparencyOrOpacityUvScale

Scale applied to UVs used for transparency/opacity texture.

Enums

Name

Description

Name

Description

eShadowfaceBehaviourType

Shadowface behaviour type.

eTransparencyOrOpacityMode

A choice of transparency or opacity.



Geo::v128 Enlighten::BakeMaterialInfo::ConvertToOpacityBasedOnMode


public: Geo::v128 ConvertToOpacityBasedOnMode
(
    const Geo::v128 & colour
) const


Convert the transparency/opacity based on TransparencyOrOpacityMode.



Geo::v128 Enlighten::BakeMaterialInfo::ConvertToTransparencyBasedOnMode


public: Geo::v128 ConvertToTransparencyBasedOnMode
(
    const Geo::v128 & colour
) const