7#include "Kismet/BlueprintFunctionLibrary.h"
9#include "CesiumFeatureIdSet.generated.h"
14struct ExtensionExtInstanceFeaturesFeatureId;
39 GENERATED_USTRUCT_BODY()
68 int64 _propertyTableIndex;
76 : public UBlueprintFunctionLibrary {
85 Category =
"Cesium|Features|FeatureIDSet")
98 Category =
"Cesium|Features|FeatureIDSet")
110 Category = "Cesium|Features|FeatureIDSet")
123 Category = "Cesium|Features|FeatureIDSet")
133 Category = "Cesium|Features|FeatureIDSet")
148 Category = "Cesium|Features|FeatureIDSet")
159 Category = "Cesium|Features|FeatureIDSet")
173 Category = "Cesium|Features|FeatureIDSet")
191 Category = "Cesium|Features|FeatureIDSet")
194 int64 InstanceIndex);
213 Category = "Cesium|Features|FeatureIDSet")
216 const FHitResult& Hit);
ECesiumFeatureIdSetType
The type of a feature ID set.
static const int64 GetNullFeatureID(UPARAM(ref) const FCesiumFeatureIdSet &FeatureIDSet)
Gets the null feature ID, i.e., the value that indicates no feature is associated with the owner.
static const FCesiumFeatureIdAttribute & GetAsFeatureIDAttribute(UPARAM(ref) const FCesiumFeatureIdSet &FeatureIDSet)
Gets this feature ID set as a feature ID attribute.
static const int64 GetPropertyTableIndex(UPARAM(ref) const FCesiumFeatureIdSet &FeatureIDSet)
Get the index of the property table corresponding to this feature ID set.
static int64 GetFeatureIDFromHit(UPARAM(ref) const FCesiumFeatureIdSet &FeatureIDSet, const FHitResult &Hit)
Given a trace hit result, gets the feature ID from the feature ID set on the hit component.
static int64 GetFeatureIDForInstance(UPARAM(ref) const FCesiumFeatureIdSet &FeatureIDSet, int64 InstanceIndex)
Gets the feature ID associated with a given instance in glTF models using the EXT_mesh_gpu_instancing...
static int64 GetFeatureCount(UPARAM(ref) const FCesiumFeatureIdSet &FeatureIDSet)
Get the number of features this primitive has.
static int64 GetFeatureIDForVertex(UPARAM(ref) const FCesiumFeatureIdSet &FeatureIDSet, int64 VertexIndex)
Gets the feature ID associated with a given vertex.
static const ECesiumFeatureIdSetType GetFeatureIDSetType(UPARAM(ref) const FCesiumFeatureIdSet &FeatureIDSet)
Gets the type of this feature ID set.
static const FString GetLabel(UPARAM(ref) const FCesiumFeatureIdSet &FeatureIDSet)
Gets the label assigned to this feature ID set.
static const FCesiumFeatureIdTexture & GetAsFeatureIDTexture(UPARAM(ref) const FCesiumFeatureIdSet &FeatureIDSet)
Gets this feature ID set as a feature ID texture.
A blueprint-accessible wrapper for a feature ID attribute from a glTF model.
A blueprint-accessible wrapper for a feature ID set from a glTF primitive.
std::variant< std::monostate, FCesiumFeatureIdAttribute, FCesiumFeatureIdTexture > FeatureIDType
FCesiumFeatureIdSet(const CesiumGltf::Model &Model, const CesiumGltf::MeshPrimitive &Primitive, const CesiumGltf::FeatureId &FeatureId)
FCesiumFeatureIdSet(const CesiumGltf::Model &Model, const CesiumGltf::Node &Node, const CesiumGltf::ExtensionExtInstanceFeaturesFeatureId &InstanceFeatureId)
A blueprint-accessible wrapper for a feature ID texture from a glTF primitive.