Skip to content

RoomMaterial

struct RoomMaterial

Represents the material of a Room wall.

Variables

Name Description
m_type The type of the material.

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.

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.