RoomMaterial¶
struct RoomMaterial
Represents the material of a Room wall.
Variables¶
| Name | Description |
|---|---|
| m_type | The type of the material. |
Operators¶
| Name | Description |
|---|---|
| operator== | The absorption coefficients of the material. Checks if two RoomMaterial objects are equal. |
| operator!= | Checks if two RoomMaterial objects are not equal. |
Functions¶
| Name | Description |
|---|---|
| RoomMaterial | Constructs a new RoomMaterial. |
| RoomMaterial | Constructs a new predefined RoomMaterial. |
Variable Details¶
m_type¶
RoomMaterialType m_type
The type of the material.
Operator Details¶
operator!=¶
bool operator!=(const RoomMaterial& other) const
Checks if two RoomMaterial objects are not equal.
- Parameter
other - The other
RoomMaterialto compare with. - Return
trueif the materials are not equal,falseotherwise.
operator==¶
bool operator==(const RoomMaterial& other) const
The absorption coefficients of the material.
Checks if two RoomMaterial objects are equal.
- Parameter
other - The other
RoomMaterialto compare with. - Return
trueif the materials are equal,falseotherwise.
Function Details¶
RoomMaterial¶
RoomMaterial()
Constructs a new RoomMaterial.
Note
This constructor initializes a RoomMaterialType::Custom material.
explicit RoomMaterial(RoomMaterialType type)
Constructs a new predefined RoomMaterial.
- Parameter
type - The type of the material.