FormIt C++ API  v23.0.0 (2023.0.0)
WSM::MaterialData Struct Reference

Description

Data used to construct a material.

#include <GeometryDataContainers.h>

Public Attributes

::string m_name
 The name of the material. More...
 
WSM::Color m_color = {255, 255, 255, 255}
 The material color, in RGBA format, with R being the high byte. More...
 
double m_dHorzScale = 1.0
 The scale applied to the texture data. More...
 
double m_dVertScale = 1.0
 
size_t m_nTextureIndex = UNUSED_INDEX
 An index into the texture data array. More...
 

Member Data Documentation

WSM::Color WSM::MaterialData::m_color = {255, 255, 255, 255}

The material color, in RGBA format, with R being the high byte.

The default color of a material is white, which corresponds to a material with no color change from the texture itself when used with a texture.

double WSM::MaterialData::m_dHorzScale = 1.0

The scale applied to the texture data.

double WSM::MaterialData::m_dVertScale = 1.0
::string WSM::MaterialData::m_name

The name of the material.

size_t WSM::MaterialData::m_nTextureIndex = UNUSED_INDEX

An index into the texture data array.


The documentation for this struct was generated from the following file: