AActor::WasRecentlyRendered

Returns true if this actor has been rendered "recently", with a tolerance in seconds to define what "recent" means.

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

bool WasRecentlyRendered
(
    float Tolerance
) const

Remarks

Returns true if this actor has been rendered "recently", with a tolerance in seconds to define what "recent" means. e.g.: If a tolerance of 0.1 is used, this function will return true only if the actor was rendered in the last 0.1 seconds of game time.

Returns

Whether this actor was recently rendered.

Parameters

Parameter

Description

Tolerance

How many seconds ago the actor last render time can be and still count as having been "recently" rendered.

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