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

Description of a feature ID set from EXT_mesh_features. More...

#include <CesiumFeaturesMetadataComponent.h>

Public Attributes

FString Name
 The display name of the feature ID set.
 
ECesiumFeatureIdSetType Type = ECesiumFeatureIdSetType::None
 The type of the feature ID set.
 
bool bHasKhrTextureTransform = false
 Whether this feature ID set contains a KHR_texture_transform glTF extension.
 
FString PropertyTableName
 The name of the property table that this feature ID set corresponds to.
 
bool bHasNullFeatureId = false
 The null feature ID for the feature ID set.
 

Detailed Description

Description of a feature ID set from EXT_mesh_features.

Definition at line 25 of file CesiumFeaturesMetadataComponent.h.

Member Data Documentation

◆ bHasKhrTextureTransform

bool FCesiumFeatureIdSetDescription::bHasKhrTextureTransform = false

Whether this feature ID set contains a KHR_texture_transform glTF extension.

Only applicable if the feature ID set is a feature ID texture.

Definition at line 64 of file CesiumFeaturesMetadataComponent.h.

◆ bHasNullFeatureId

bool FCesiumFeatureIdSetDescription::bHasNullFeatureId = false

The null feature ID for the feature ID set.

This value indicates that no feature is associated with the vertex or texel containing the value. If no such value is specified, this defaults to -1, which prevents it from being unnecessarily included in the generated material.

Definition at line 79 of file CesiumFeaturesMetadataComponent.h.

◆ Name

FString FCesiumFeatureIdSetDescription::Name

The display name of the feature ID set.

If the feature ID set already has a label, this will use the label. Otherwise, if the feature ID set is unlabeled, a name will be generated like so:

  • If the feature ID set is an attribute, this will appear as "_FEATURE_ID_\<index\>", where <index> is the set index specified in the attribute.
  • If the feature ID set is a texture, this will appear as "_FEATURE_ID_TEXTURE_\<index\>", where <index> increments with the number of feature ID textures seen in an individual primitive.
  • If the feature ID set is an implicit set, this will appear as "_IMPLICIT_FEATURE_ID". Implicit feature ID sets don't vary in definition, so any additional implicit feature ID sets across the primitives are counted by this one.

This name will also be used to represent the feature ID set in the generated material.

Definition at line 48 of file CesiumFeaturesMetadataComponent.h.

◆ PropertyTableName

FString FCesiumFeatureIdSetDescription::PropertyTableName

The name of the property table that this feature ID set corresponds to.

Definition at line 70 of file CesiumFeaturesMetadataComponent.h.

◆ Type

ECesiumFeatureIdSetType FCesiumFeatureIdSetDescription::Type = ECesiumFeatureIdSetType::None

The type of the feature ID set.

Definition at line 54 of file CesiumFeaturesMetadataComponent.h.


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