Language:
Discover
By Skill Level
By Category

FFindReferencedAssets::ShouldSearchForAssets

Choose your OS:

Syntax

static [UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2) bool ShouldSearchForAssets
(
    const UObject * Object,
    const TArray < UClass * > & ClassesToIgnore,
    const TArray < UObject * > & PackagesToIgnore,
    bool bIncludeDefaults
)

Remarks

Checks an object to see if it should be included for asset searching

true if it should be searched, false otherwise

Returns

true if it should be searched, false otherwise

Parameters

Parameter

Description

Object

the object in question

ClassesToIgnore

the list of classes to skip

PackagesToIgnore

the list of packages to skip

bIncludeDefaults

specify true to include content referenced through defaults

References

Module

UnrealEd

Header

Editor/UnrealEd/Public/ReferencedAssetsUtils.h

Source

Editor/UnrealEd/Private/ReferencedAssetsUtils.cpp