void USpineSkeletonDataAsset::GetAssetRegistryTags (TArray<FAssetRegistryTag>& OutTags) const { if (importData) { OutTags.Add(FAssetRegistryTag(SourceFileTagName(), importData->GetSourceData().ToJson(), FAssetRegistryTag::TT_Hidden) ); } Super::GetAssetRegistryTags(OutTags); }
void UFont::GetAssetRegistryTags(TArray<FAssetRegistryTag>& OutTags) const { // Add all the font filenames for( const FTypefaceEntry& TypefaceEntry : CompositeFont.DefaultTypeface.Fonts ) { OutTags.Add( FAssetRegistryTag(SourceFileTagName(), TypefaceEntry.Font.FontFilename, FAssetRegistryTag::TT_Hidden) ); } for( const FCompositeSubFont& SubFont : CompositeFont.SubTypefaces ) { for( const FTypefaceEntry& TypefaceEntry : SubFont.Typeface.Fonts ) { OutTags.Add( FAssetRegistryTag(SourceFileTagName(), TypefaceEntry.Font.FontFilename, FAssetRegistryTag::TT_Hidden) ); } } Super::GetAssetRegistryTags(OutTags); }
void UPaperTileMap::GetAssetRegistryTags(TArray<FAssetRegistryTag>& OutTags) const { if (AssetImportData) { OutTags.Add( FAssetRegistryTag(SourceFileTagName(), AssetImportData->SourceFilePath, FAssetRegistryTag::TT_Hidden) ); } Super::GetAssetRegistryTags(OutTags); }
void UCurveBase::GetAssetRegistryTags(TArray<FAssetRegistryTag>& OutTags) const { if (AssetImportData) { OutTags.Add(FAssetRegistryTag(SourceFileTagName(), AssetImportData->ToJson(), FAssetRegistryTag::TT_Hidden)); } Super::GetAssetRegistryTags(OutTags); }
void UCreatureAnimationAsset::GetAssetRegistryTags(TArray<FAssetRegistryTag>& OutTags) const { if (!creature_filename.IsEmpty()) { OutTags.Add(FAssetRegistryTag(SourceFileTagName(), AssetImportData->GetSourceData().ToJson(), FAssetRegistryTag::TT_Hidden)); } Super::GetAssetRegistryTags(OutTags); }
void USpriterProject::GetAssetRegistryTags(TArray<FAssetRegistryTag>& OutTags) const { if (AssetImportData) { OutTags.Add(FAssetRegistryTag(SourceFileTagName(), AssetImportData->GetSourceData().ToJson(), FAssetRegistryTag::TT_Hidden)); } Super::GetAssetRegistryTags(OutTags); }
void USoundWave::GetAssetRegistryTags(TArray<FAssetRegistryTag>& OutTags) const { Super::GetAssetRegistryTags(OutTags); #if WITH_EDITORONLY_DATA if (AssetImportData) { OutTags.Add( FAssetRegistryTag(SourceFileTagName(), AssetImportData->GetSourceData().ToJson(), FAssetRegistryTag::TT_Hidden) ); } #endif }
void USoundWave::GetAssetRegistryTags(TArray<FAssetRegistryTag>& OutTags) const { Super::GetAssetRegistryTags(OutTags); #if WITH_EDITORONLY_DATA if (AssetImportData) { OutTags.Add( FAssetRegistryTag(SourceFileTagName(), AssetImportData->GetSourceData().ToJson(), FAssetRegistryTag::TT_Hidden) ); } #endif // GetCompressedDataSize could technically modify this->CompressedFormatData therefore it is not const, however this information // is very useful in the asset registry so we will allow GetCompressedDataSize to be modified if the formats do not exist USoundWave* MutableThis = const_cast<USoundWave*>(this); const FString OggSize = FString::Printf(TEXT("%.2f"), MutableThis->GetCompressedDataSize("OGG") / 1024.0f ); OutTags.Add( FAssetRegistryTag("OggSize", OggSize, UObject::FAssetRegistryTag::TT_Numerical) ); }
void UCurveBase::GetAssetRegistryTags(TArray<FAssetRegistryTag>& OutTags) const { OutTags.Add( FAssetRegistryTag(SourceFileTagName(), ImportPath, FAssetRegistryTag::TT_Hidden) ); Super::GetAssetRegistryTags(OutTags); }