AActor::PostRenderFor

Hook to allow actors to render HUD overlays for themselves.

Windows
MacOS
Linux

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

Syntax

virtual void PostRenderFor
(
    class APlayerController * PC,
    class UCanvas * Canvas,
    FVector CameraPosition,
    FVector CameraDir
)

Remarks

Hook to allow actors to render HUD overlays for themselves. Called from AHUD::DrawActorOverlays().

Parameters

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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback