cesium-native  0.41.0
ExtensionKhrTextureTransform.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 
7 #include <CesiumUtility/ExtensibleObject.h>
8 
9 #include <cstdint>
10 #include <optional>
11 #include <vector>
12 
13 namespace CesiumGltf {
18 struct CESIUMGLTF_API ExtensionKhrTextureTransform final
20  static inline constexpr const char* TypeName = "ExtensionKhrTextureTransform";
21  static inline constexpr const char* ExtensionName = "KHR_texture_transform";
22 
27  std::vector<double> offset = {0, 0};
28 
33  double rotation = 0;
34 
38  std::vector<double> scale = {1, 1};
39 
44  std::optional<int64_t> texCoord;
45 };
46 } // namespace CesiumGltf
Classes for working with glTF models.
glTF extension that enables shifting and scaling UV coordinates on a per-texture basis
std::optional< int64_t > texCoord
Overrides the textureInfo texCoord value if supplied, and if this extension is supported.
The base class for objects that have extensions and extras.