Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FViewport
A map from 2D coordinates to cached hit proxies.
| Name | FHitProxyMap |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/UnrealClient.h |
| Include Path | #include "UnrealClient.h" |
Syntax
class FHitProxyMap :
public FHitProxyConsumer ,
public FRenderTarget ,
public FGCObject
Inheritance Hierarchy
- FGCObject → FViewport::FHitProxyMap
- FHitProxyConsumer → FViewport::FHitProxyMap
- FRenderTarget → FViewport::FHitProxyMap
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FHitProxyMap() |
Constructor | UnrealClient.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FHitProxyMap() |
Destructor | UnrealClient.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| HitProxies | TArray< TRefCountPtr< HHitProxy > > | References to the hit proxies cached by the hit proxy map. | UnrealClient.h | |
| HitProxyCPUTexture | FTextureRHIRef | UnrealClient.h | ||
| SizeX | uint32 | The width of the hit proxy map. | UnrealClient.h | |
| SizeY | uint32 | The height of the hit proxy map. | UnrealClient.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FTextureRHIRef & GetHitProxyCPUTexture() |
UnrealClient.h | ||
const FTextureRHIRef & GetHitProxyTexture() |
UnrealClient.h | ||
void Init
(
uint32 NewSizeX, |
Initializes the hit proxy map with the given dimensions. | UnrealClient.h | |
void Invalidate() |
Invalidates the cached hit proxy map. | UnrealClient.h | |
void Release() |
Releases the hit proxy resources. | UnrealClient.h |
Overridden from FHitProxyConsumer
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddHitProxy
(
HHitProxy* HitProxy |
Called when a new hit proxy is rendered. | UnrealClient.h |
Overridden from FRenderTarget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FIntPoint GetSizeXY() |
Properties. | UnrealClient.h |
Overridden from FGCObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddReferencedObjects
(
FReferenceCollector& Collector |
FGCObject interface | UnrealClient.h | |
virtual FString GetReferencerName() |
UnrealClient.h |