Cesium for Unreal 2.12.0
|
A blueprint-accessible wrapper for a feature ID texture from a glTF primitive. More...
#include <CesiumFeatureIdTexture.h>
Public Member Functions | |
FCesiumFeatureIdTexture () | |
Constructs an empty feature ID texture instance. | |
FCesiumFeatureIdTexture (const CesiumGltf::Model &Model, const CesiumGltf::MeshPrimitive &Primitive, const CesiumGltf::FeatureIdTexture &FeatureIdTexture, const FString &PropertyTableName) | |
Constructs a feature ID texture instance. | |
constexpr const CesiumGltf::FeatureIdTextureView & | getFeatureIdTextureView () const |
Gets the underlying view of this feature ID texture. | |
Friends | |
class | UCesiumFeatureIdTextureBlueprintLibrary |
A blueprint-accessible wrapper for a feature ID texture from a glTF primitive.
Provides access to per-pixel feature IDs, which can be used with the corresponding FCesiumPropertyTable
to access per-pixel metadata.
Definition at line 40 of file CesiumFeatureIdTexture.h.
|
inline |
Constructs an empty feature ID texture instance.
Empty feature ID textures can be constructed while trying to convert a FCesiumFeatureIdSet that is not an texture. In this case, the status reports it is an invalid texture.
Definition at line 50 of file CesiumFeatureIdTexture.h.
FCesiumFeatureIdTexture::FCesiumFeatureIdTexture | ( | const CesiumGltf::Model & | Model, |
const CesiumGltf::MeshPrimitive & | Primitive, | ||
const CesiumGltf::FeatureIdTexture & | FeatureIdTexture, | ||
const FString & | PropertyTableName ) |
Constructs a feature ID texture instance.
Model | The model. |
Primitive | The mesh primitive containing the feature ID texture. |
FeatureIdTexture | The texture specified by the FeatureId. |
PropertyTableName | The name of the property table this texture corresponds to, if one exists, for backwards compatibility. |
|
inlineconstexpr |
Gets the underlying view of this feature ID texture.
Definition at line 72 of file CesiumFeatureIdTexture.h.
|
friend |
Definition at line 85 of file CesiumFeatureIdTexture.h.