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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss