#include <tiny_gltf.h>
◆ Parameter()
| tinygltf::Parameter::Parameter |
( |
| ) |
|
|
default |
◆ ColorFactor()
| ColorValue tinygltf::Parameter::ColorFactor |
( |
| ) |
const |
|
inline |
Return the color of a material Returned value is only valid if the parameter represent a texture from a material
◆ Factor()
| double tinygltf::Parameter::Factor |
( |
| ) |
const |
|
inline |
Material factor, like the roughness or metalness of a material Returned value is only valid if the parameter represent a texture from a material
◆ operator==()
| bool tinygltf::Parameter::operator== |
( |
const Parameter & |
| ) |
const |
◆ TextureIndex()
| int tinygltf::Parameter::TextureIndex |
( |
| ) |
const |
|
inline |
Return the index of a texture if this Parameter is a texture map. Returned value is only valid if the parameter represent a texture from a material
◆ TextureScale()
| double tinygltf::Parameter::TextureScale |
( |
| ) |
const |
|
inline |
Return the scale of a texture if this Parameter is a normal texture map. Returned value is only valid if the parameter represent a normal texture from a material
◆ TextureStrength()
| double tinygltf::Parameter::TextureStrength |
( |
| ) |
const |
|
inline |
Return the strength of a texture if this Parameter is a an occlusion map. Returned value is only valid if the parameter represent an occlusion map from a material
◆ TextureTexCoord()
| int tinygltf::Parameter::TextureTexCoord |
( |
| ) |
const |
|
inline |
Return the index of a texture coordinate set if this Parameter is a texture map. Returned value is only valid if the parameter represent a texture from a material
◆ bool_value
| bool tinygltf::Parameter::bool_value = false |
◆ has_number_value
| bool tinygltf::Parameter::has_number_value = false |
◆ json_double_value
| std::map<std::string, double> tinygltf::Parameter::json_double_value |
◆ number_array
| std::vector<double> tinygltf::Parameter::number_array |
◆ number_value
| double tinygltf::Parameter::number_value = 0.0 |
◆ string_value
| std::string tinygltf::Parameter::string_value |
The documentation for this struct was generated from the following file: