class Enlighten BoxSpotlight CachedData

This is the documentation for Enlighten.

class Enlighten BoxSpotlight CachedData

class Enlighten::BoxSpotlight::CachedData

    └>Enlighten::InputLightBase

Cached data for box spotlight.

Variables

Name

Description

Name

Description

Geo::v128 m_Bounds[4]

Bounds.

Geo::v128 m_BoundsMax

Bounds max.

Geo::v128 m_BoundsMin

Bounds min.

Geo::v128 m_Colour

Colour.

Geo::v128 m_CosLightAngle

Cos (light angle)

Geo::v128 m_CutoffSquared

Cutoff squared.

Geo::v128 m_Direction

Direction.

Geo::v128 m_DirectionScale

Direction scale.

Enlighten::InternalLightFalloffTable m_FalloffTable

Falloff table.

bool m_HasChanged

Whether the light has changed since it was last given to the extended direct lighting api.

Geo::u32 m_HasVisibilityData

Has visibility data?

const eLightType m_LightType

Type of input light corresponding to an eLightType enum value.

Geo::v128 m_NegativeCosAngleScaledPlusOne

-Cos(angle scaled) + 1

Geo::v128 m_NegativeSinLightAngle

-Sin(light angle)

Geo::u32 m_Padding

Unused padding.

Geo::u64 m_Padding

Unused (this class is usually extended by one that starts with multiple v128s)

Geo::v128 m_Position

Position.

Geo::v128 m_Radius

Radius.

Geo::v128 m_RightDirection

Right direction.

Geo::v128 m_SpotlightTable[33]

Spotlight table.

Geo::v128 m_UpDirection

Up direction.

const Geo::u8 * m_VisibilityData

Visibility data.

Geo::u64 m_VisibilityData64

Visibility data.

Functions