cesium-native  0.41.0
MaterialPBRMetallicRoughness.h
1 // This file was generated by generate-classes.
2 // DO NOT EDIT THIS FILE!
3 #pragma once
4 
5 #include "CesiumGltf/Library.h"
6 #include "CesiumGltf/TextureInfo.h"
7 
8 #include <CesiumUtility/ExtensibleObject.h>
9 
10 #include <optional>
11 #include <vector>
12 
13 namespace CesiumGltf {
19 struct CESIUMGLTF_API MaterialPBRMetallicRoughness final
21  static inline constexpr const char* TypeName = "MaterialPBRMetallicRoughness";
22 
29  std::vector<double> baseColorFactor = {1, 1, 1, 1};
30 
42  std::optional<CesiumGltf::TextureInfo> baseColorTexture;
43 
50  double metallicFactor = 1;
51 
58  double roughnessFactor = 1;
59 
69  std::optional<CesiumGltf::TextureInfo> metallicRoughnessTexture;
70 };
71 } // namespace CesiumGltf
Classes for working with glTF models.
A set of parameter values that are used to define the metallic-roughness material model from Physical...
std::optional< CesiumGltf::TextureInfo > metallicRoughnessTexture
The metallic-roughness texture.
std::optional< CesiumGltf::TextureInfo > baseColorTexture
The base color texture.
The base class for objects that have extensions and extras.