cesium-native 0.53.0
Loading...
Searching...
No Matches
Cesium3DTilesSelection::GltfModifierInput Struct Reference

The input to GltfModifier::apply. More...

#include <Cesium3DTilesSelection/GltfModifier.h>

Public Attributes

int64_t version
 The version of the GltfModifier, as returned by GltfModifier::getCurrentVersion at the start of the modification.
 
CesiumAsync::AsyncSystem asyncSystem
 The async system that can be used to do work in threads.
 
std::shared_ptr< CesiumAsync::IAssetAccessorpAssetAccessor
 An asset accessor that can be used to obtain additional assets.
 
std::shared_ptr< spdlog::logger > pLogger
 The logger.
 
const CesiumGltf::ModelpreviousModel
 The model to be modified.
 
glm::dmat4 tileTransform
 The transformation of the model's coordinates to the tileset's coordinate system.
 

Detailed Description

The input to GltfModifier::apply.

Definition at line 29 of file GltfModifier.h.

Member Data Documentation

◆ asyncSystem

CesiumAsync::AsyncSystem Cesium3DTilesSelection::GltfModifierInput::asyncSystem

The async system that can be used to do work in threads.

Definition at line 43 of file GltfModifier.h.

◆ pAssetAccessor

std::shared_ptr<CesiumAsync::IAssetAccessor> Cesium3DTilesSelection::GltfModifierInput::pAssetAccessor

An asset accessor that can be used to obtain additional assets.

Definition at line 48 of file GltfModifier.h.

◆ pLogger

std::shared_ptr<spdlog::logger> Cesium3DTilesSelection::GltfModifierInput::pLogger

The logger.

Definition at line 53 of file GltfModifier.h.

◆ previousModel

const CesiumGltf::Model& Cesium3DTilesSelection::GltfModifierInput::previousModel

The model to be modified.

Definition at line 58 of file GltfModifier.h.

◆ tileTransform

glm::dmat4 Cesium3DTilesSelection::GltfModifierInput::tileTransform

The transformation of the model's coordinates to the tileset's coordinate system.

Definition at line 64 of file GltfModifier.h.

◆ version

int64_t Cesium3DTilesSelection::GltfModifierInput::version

The version of the GltfModifier, as returned by GltfModifier::getCurrentVersion at the start of the modification.

This is provided because calling GltfModifier::getCurrentVersion may return a newer version if GltfModifier::trigger is called again while GltfModifier::apply is running in a worker thread.

Definition at line 38 of file GltfModifier.h.


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