API reference
API reference
Select your platform
No SDKs available
No versions available

FMRUKLabelFilter Struct

Label filter to use in MRUK (Mixed Reality Utility Kit). You can use this to filter anchors by their labels. Use the IncludedLabels and ExcludedLabels list to specify which labels to include and exclude.

Fields

ComponentTypes : int32
Enum flags representing component types to include, by default include all component types.
Signature
int32 FMRUKLabelFilter::ComponentTypes
ExcludedLabels : TArray< FString >
Anchors with any of the labels in this exclusion list will be ignored.
Signature
TArray<FString> FMRUKLabelFilter::ExcludedLabels
IncludedLabels : TArray< FString >
If included labels is not empty then the anchor must have at least one of the labels in this list.
Signature
TArray<FString> FMRUKLabelFilter::IncludedLabels

Member Functions

PassesFilter ( Labels )
Check if the labels pass the given label filter
Signature
bool FMRUKLabelFilter::PassesFilter(const TArray< FString > &Labels) const
Parameters
Labels: const TArray< FString > &  The labels to check.
Returns
bool  Whether the filter passes or not.