Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/AActor
References
| Module | Engine |
| 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
&40;
class APlayerController &42; PC,
class UCanvas &42; Canvas,
FVector CameraPosition,
FVector CameraDir
&41;
Remarks
Hook to allow actors to render HUD overlays for themselves. Called from AHUD::DrawActorOverlays().
Parameters
| Name | 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. |