RealDocs

UKismetSystemLibrary::NotEqual_PrimaryAssetId

function Engine Blueprint Since unknown
#include "Kismet/KismetSystemLibrary.h"
Access: public Specifiers: staticUFUNCTIONBlueprintPureBlueprintThreadSafe

Description

Returns true if two Primary Asset Ids are not equal. Backs the "!=" node for Primary Asset Id pins in Blueprint.

Caveats & Gotchas

  • Simply negates EqualEqual_PrimaryAssetId; in C++ prefer operator!= on FPrimaryAssetId directly.

Signature

static bool NotEqual_PrimaryAssetId(FPrimaryAssetId A, FPrimaryAssetId B)

Parameters

Name Type Description Default
A FPrimaryAssetId The first Primary Asset Id to compare.
B FPrimaryAssetId The second Primary Asset Id to compare.

Return Type

bool

Example

Compare two Ids for inequality C++
if (UKismetSystemLibrary::NotEqual_PrimaryAssetId(AssetIdA, AssetIdB))
{
	UE_LOG(LogTemp, Log, TEXT("Different assets"));
}

Version History

Introduced in: unknown

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.