/
class Enlighten BoxVolume
This is the documentation for Enlighten.
class Enlighten BoxVolume
class Enlighten::BoxVolume
└>Enlighten::TransparencyVolumeBase
Box volume primitive.
Functions
Name | Description |
---|---|
BoxVolume(const Geo::v128 &, const Geo::v128 &) | Constructor. |
GetDimensions() | Gets the dimensions. |
SetDimensions(Geo::v128 const &) | Sets the dimensions. |
TestQuad(const Geo::v128 &, const Geo::v128 &, const Geo::v128 &, const Geo::Matrix &) | Tests the given quad. |
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.
, multiple selections available,
Related content
9. Efficient Enlighten lighting
9. Efficient Enlighten lighting
More like this
How Enlighten works
How Enlighten works
More like this
Level properties
Level properties
More like this
7. Lightmap resolution
7. Lightmap resolution
More like this
Lightmap UV charts
Lightmap UV charts
More like this
Visualizations and statistics
Visualizations and statistics
More like this