RealDocs

UKismetSystemLibrary::NotEqual_PrimaryAssetType

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

Description

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

Caveats & Gotchas

  • Simply negates EqualEqual_PrimaryAssetType; in C++ prefer operator!= on FPrimaryAssetType directly.

Signature

static bool NotEqual_PrimaryAssetType(FPrimaryAssetType A, FPrimaryAssetType B)

Parameters

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

Return Type

bool

Example

Compare two types for inequality C++
if (UKismetSystemLibrary::NotEqual_PrimaryAssetType(FPrimaryAssetType(TEXT("Item")), OtherType))
{
	UE_LOG(LogTemp, Log, TEXT("Different types"));
}

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.