This is the documentation for Enlighten.

class Enlighten BoxVolume

class Enlighten::BoxVolume

    └>Enlighten::TransparencyVolumeBase

Box volume primitive.

Functions

Variables

Name Description
Geo::Matrix m_Transform

Transformation matrix for this volume.

float m_Transparency

Transparency value [0..1].


Enlighten::BoxVolume::BoxVolume


public: BoxVolume
(
    const Geo::v128 & position,
    const Geo::v128 & dimensions
)


Constructor.


Geo::v128 Enlighten::BoxVolume::GetDimensions


public: Geo::v128 GetDimensions() const


Gets the dimensions.


void Enlighten::BoxVolume::SetDimensions


public: void SetDimensions
(
    Geo::v128 const & dim
)


Sets the dimensions.


Geo::v128 Enlighten::BoxVolume::TestQuad


public: Geo::v128 TestQuad
(
    const Geo::v128 & x,
    const Geo::v128 & y,
    const Geo::v128 & z,
    const Geo::Matrix & invTransform
) const


Tests the given quad.