UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
PrimitiveComponentId.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
6
12{
13public:
14
17
18 inline bool IsValid() const
19 {
20 return PrimIDValue > 0;
21 }
22
24 {
25 return PrimIDValue == OtherId.PrimIDValue;
26 }
27
29 {
30 return GetTypeHash(Id.PrimIDValue);
31 }
32
34};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition PrimitiveComponentId.h:12
friend uint32 GetTypeHash(FPrimitiveComponentId Id)
Definition PrimitiveComponentId.h:28
bool IsValid() const
Definition PrimitiveComponentId.h:18
bool operator==(FPrimitiveComponentId OtherId) const
Definition PrimitiveComponentId.h:23
FPrimitiveComponentId()
Definition PrimitiveComponentId.h:15
uint32 PrimIDValue
Definition PrimitiveComponentId.h:33