AActor::PostRenderFor

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.

References

Module

Engine

Header

Runtime/Engine/Classes/GameFramework/Actor.h

Source

Runtime/Engine/Private/Actor.cpp