Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

class Enlighten::BoxVolume

    └>Enlighten::TransparencyVolumeBase

Box volume primitive.

Functions

Variables

NameDescription
Geo::Matrix m_Transform

Transformation matrix for this volume.

float m_Transparency

Transparency value [0..1].


Anchor
af0b55ad95e178c36cd95db914c9aec62
af0b55ad95e178c36cd95db914c9aec62

Enlighten::BoxVolume::BoxVolume

...

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

...

Constructor.


Anchor
a952de7ee784ee103b2bf48e12181b0d6
a952de7ee784ee103b2bf48e12181b0d6

Geo::v128 Enlighten::BoxVolume::GetDimensions

...

public: Geo::v128 GetDimensions() const

...

Gets the dimensions.


Anchor
a67f593af9243b869671f7d7c39e7679b
a67f593af9243b869671f7d7c39e7679b

void Enlighten::BoxVolume::SetDimensions

...

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

...

Sets the dimensions.


Anchor
a5bcb440eac81a21650da743502c4e651
a5bcb440eac81a21650da743502c4e651

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.