![]() |
Cesium for Unreal 2.20.0
|
A blueprint-accessible wrapper for a feature ID attribute from a glTF model. More...
#include <CesiumFeatureIdAttribute.h>
Public Member Functions | |
| FCesiumFeatureIdAttribute () | |
| Constructs an empty feature ID attribute instance. | |
| FCesiumFeatureIdAttribute (const CesiumGltf::Model &Model, const CesiumGltf::MeshPrimitive &Primitive, const int64 FeatureIDAttribute, const FString &PropertyTableName) | |
| Constructs a feature ID attribute instance. | |
| FCesiumFeatureIdAttribute (const CesiumGltf::Model &Model, const CesiumGltf::Node &Node, const int64 FeatureIDAttribute, const FString &PropertyTableName) | |
| Constructs a feature ID attribute instance from EXT_instance_features data. | |
| int64 | getAttributeIndex () const |
| Gets the index of this feature ID attribute in the glTF primitive. | |
Friends | |
| class | UCesiumFeatureIdAttributeBlueprintLibrary |
A blueprint-accessible wrapper for a feature ID attribute from a glTF model.
Provides access to feature IDs which can be used with the corresponding FCesiumPropertyTable to access metadata. These feature IDs may be defined per-vertex or per-instance.
Definition at line 36 of file CesiumFeatureIdAttribute.h.
|
inline |
Constructs an empty feature ID attribute instance.
Empty feature ID attributes can be constructed while trying to convert a FCesiumFeatureIdSet that is not an attribute. In this case, the status reports it is an invalid attribute.
Definition at line 46 of file CesiumFeatureIdAttribute.h.
| FCesiumFeatureIdAttribute::FCesiumFeatureIdAttribute | ( | const CesiumGltf::Model & | Model, |
| const CesiumGltf::MeshPrimitive & | Primitive, | ||
| const int64 | FeatureIDAttribute, | ||
| const FString & | PropertyTableName ) |
Constructs a feature ID attribute instance.
| Model | The model. |
| Primitive | The mesh primitive containing the feature ID attribute. |
| FeatureIDAttribute | The attribute index specified by the FeatureId. |
| PropertyTableName | The name of the property table this attribute corresponds to, if one exists, for backwards compatibility. |
| FCesiumFeatureIdAttribute::FCesiumFeatureIdAttribute | ( | const CesiumGltf::Model & | Model, |
| const CesiumGltf::Node & | Node, | ||
| const int64 | FeatureIDAttribute, | ||
| const FString & | PropertyTableName ) |
Constructs a feature ID attribute instance from EXT_instance_features data.
| Model | The model. |
| Node | The node containing the feature ID attribute. |
| FeatureIDAttribute | The attribute index specified by the FeatureId. |
| PropertyTableName | The name of the property table this attribute corresponds to, if one exists, for backwards compatibility. |
|
inline |
Gets the index of this feature ID attribute in the glTF primitive.
Definition at line 85 of file CesiumFeatureIdAttribute.h.
|
friend |
Definition at line 95 of file CesiumFeatureIdAttribute.h.