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]. |
Anchor | ||||
---|---|---|---|---|
|
Enlighten::BoxVolume::BoxVolume
...
public: BoxVolume
(
const Geo::v128 & position,
const Geo::v128 & dimensions
)
...
Constructor.
Anchor | ||||
---|---|---|---|---|
|
Geo::v128 Enlighten::BoxVolume::GetDimensions
...
public: Geo::v128 GetDimensions() const
...
Gets the dimensions.
Anchor | ||||
---|---|---|---|---|
|
void Enlighten::BoxVolume::SetDimensions
...
public: void SetDimensions
(
Geo::v128 const & dim
)
...
Sets the dimensions.
Anchor | ||||
---|---|---|---|---|
|
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.