Cesium for Unreal 2.12.0
|
#include <CesiumFeatureIdAttribute.h>
Static Public Member Functions | |
static PRAGMA_DISABLE_DEPRECATION_WARNINGS const FString & | GetFeatureTableName (UPARAM(ref) const FCesiumFeatureIdAttribute &FeatureIDAttribute) |
Get the name of the feature table corresponding to this feature ID attribute. | |
static PRAGMA_ENABLE_DEPRECATION_WARNINGS ECesiumFeatureIdAttributeStatus | GetFeatureIDAttributeStatus (UPARAM(ref) const FCesiumFeatureIdAttribute &FeatureIDAttribute) |
Gets the status of the feature ID attribute. | |
static int64 | GetCount (UPARAM(ref) const FCesiumFeatureIdAttribute &FeatureIDAttribute) |
Gets the number of elements in the attribute. | |
static int64 | GetFeatureID (UPARAM(ref) const FCesiumFeatureIdAttribute &FeatureIDAttribute, int64 Index) |
Gets the feature ID at the given index. | |
Definition at line 99 of file CesiumFeatureIdAttribute.h.
|
static |
Gets the number of elements in the attribute.
This is distinct from the number of unique feature IDs within the attribute.
For a feature ID attribute of a regular mesh, this is the number of vertices. For a per-instance feature ID, this is the number of instances.
If the feature ID attribute is invalid, this returns 0.
|
static |
Gets the feature ID at the given index.
A feature ID can be used with a FCesiumPropertyTable to retrieve the metadata for that ID. If the feature ID attribute is invalid, this returns -1.
For a feature ID attribute of a regular mesh, the provided Index is the index of a vertex within the mesh. For a per-instance feature ID, the provided Index is the index of the instance.
|
static |
Gets the status of the feature ID attribute.
If this attribute is invalid in any way, this will briefly indicate why.
|
static |
Get the name of the feature table corresponding to this feature ID attribute.
The name can be used to fetch the appropriate FCesiumFeatureTable from the FCesiumMetadataModel.