Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h |
Include |
#include "GameFramework/Actor.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Actor.cpp |
virtual void PostRenderFor
(
class APlayerController * PC,
class UCanvas * Canvas,
FVector CameraPosition,
FVector CameraDir
)
Hook to allow actors to render HUD overlays for themselves. Called from AHUD::DrawActorOverlays().
Parameter |
Description |
---|---|
PC |
is the PlayerController on whose view this overlay is rendered |
Canvas |
is the Canvas on which to draw the overlay |
CameraPosition |
Position of Camera |
CameraDir |
direction camera is pointing in. |