![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <HitProxies.h>
Public Member Functions | |
| FHitProxyId () | |
| ENGINE_API | FHitProxyId (FColor Color) |
| ENGINE_API FColor | GetColor () const |
Static Public Attributes | |
| static ENGINE_API const FHitProxyId | InvisibleHitProxyId |
Friends | |
| class | HHitProxy |
| ENGINE_API class HHitProxy * | GetHitProxyById (FHitProxyId Id) |
| bool | operator== (FHitProxyId X, FHitProxyId Y) |
| bool | operator!= (FHitProxyId X, FHitProxyId Y) |
Encapsulates a hit proxy ID.
|
inline |
Default constructor.
| FHitProxyId::FHitProxyId | ( | FColor | Color | ) |
Color conversion constructor.
| FColor FHitProxyId::GetColor | ( | ) | const |
Maps the ID to a color which can be used to represent the ID.
|
friend |
Maps a hit proxy ID to its hit proxy. If the ID doesn't map to a valid hit proxy, NULL is returned.
| ID | - The hit proxy ID to match. |
|
friend |
|
friend |
|
static |
A special hit proxy ID that can be used to omit rendering a primitive to the hit proxy buffer entirely. This is useful when rendering translucent primitives that you never want to obscure selection of objects behind them