Cesium for Unreal 2.12.0
Loading...
Searching...
No Matches
FCesiumFeatureIdTexture Struct Reference

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::FeatureIdTextureViewgetFeatureIdTextureView () const
 Gets the underlying view of this feature ID texture.
 

Friends

class UCesiumFeatureIdTextureBlueprintLibrary
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ FCesiumFeatureIdTexture() [1/2]

FCesiumFeatureIdTexture::FCesiumFeatureIdTexture ( )
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() [2/2]

FCesiumFeatureIdTexture::FCesiumFeatureIdTexture ( const CesiumGltf::Model & Model,
const CesiumGltf::MeshPrimitive & Primitive,
const CesiumGltf::FeatureIdTexture & FeatureIdTexture,
const FString & PropertyTableName )

Constructs a feature ID texture instance.

Parameters
ModelThe model.
PrimitiveThe mesh primitive containing the feature ID texture.
FeatureIdTextureThe texture specified by the FeatureId.
PropertyTableNameThe name of the property table this texture corresponds to, if one exists, for backwards compatibility.

Member Function Documentation

◆ getFeatureIdTextureView()

const CesiumGltf::FeatureIdTextureView & FCesiumFeatureIdTexture::getFeatureIdTextureView ( ) const
inlineconstexpr

Gets the underlying view of this feature ID texture.

Definition at line 72 of file CesiumFeatureIdTexture.h.

Friends And Related Symbol Documentation

◆ UCesiumFeatureIdTextureBlueprintLibrary

Definition at line 85 of file CesiumFeatureIdTexture.h.


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