RealDocs

UKismetGuidLibrary::EqualEqual_GuidGuid

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

Description

Compares two GUIDs for equality, backing the Blueprint '==' operator node for the Guid type.

Caveats & Gotchas

  • Performs a plain member-wise comparison of the four internal DWORDs — two default-constructed (invalid, all-zero) GUIDs compare equal to each other, so this is not the same check as IsValid_Guid.
  • Displayed in the Blueprint graph as a compact '==' operator node named 'Equal (Guid)', not as a function call.

Signature

static bool EqualEqual_GuidGuid( const FGuid& A, const FGuid& B );

Parameters

Name Type Description Default
A const FGuid& First GUID to compare.
B const FGuid& Second GUID to compare.

Return Type

bool

Example

Compare two GUIDs C++
const FGuid A = UKismetGuidLibrary::NewGuid();
const FGuid B = A;
const bool bSame = UKismetGuidLibrary::EqualEqual_GuidGuid(A, B); // true

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.