Navigation
API > API/Runtime > API/Runtime/Engine
Encapsulates a hit proxy ID.
| Name | FHitProxyId |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/HitProxies.h |
| Include Path | #include "HitProxies.h" |
Syntax
class FHitProxyId
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FHitProxyId () |
Default constructor. | HitProxies.h | |
FHitProxyId
(
FColor Color |
Color conversion constructor. | HitProxies.h | |
FHitProxyId
(
int32 InIndex |
Initialization constructor. | HitProxies.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| InvisibleHitProxyId | const FHitProxyId | A special hit proxy ID that can be used to omit rendering a primitive to the hit proxy buffer entirely. | HitProxies.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Index | int32 | A uniquely identifying index for the hit proxy. | HitProxies.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FColor GetColor() |
Maps the ID to a color which can be used to represent the ID. | HitProxies.h |