Navigation
API > API/Plugins > API/Plugins/RuntimeTests
A simple actor class that can be manually ticked to test for correctness and performance
| Name | AEngineTestTickActor |
| Type | class |
| Header File | /Engine/Plugins/Tests/RuntimeTests/Source/RuntimeTests/Public/EngineRuntimeTests.h |
| Include Path | #include "EngineRuntimeTests.h" |
Syntax
UCLASS (MinimalAPI)
class AEngineTestTickActor : public AActor
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → AActor → AEngineTestTickActor
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
AEngineTestTickActor
(
const FObjectInitializer& ObjectInitializer |
EngineRuntimeTests.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| CurrentTickOrder | int32 | Used to set TickOrder, reset to 1 at the start of every frame | EngineRuntimeTests.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bShouldDoMath | bool | If it should perform other busy work | EngineRuntimeTests.h |
|
| bShouldIncrementTickCount | bool | If it should actually increase tick count | EngineRuntimeTests.h |
|
| MathCounter | float | Used for bShouldDoMath | EngineRuntimeTests.h |
|
| MathIncrement | float | Used for bShouldDoMath | EngineRuntimeTests.h |
|
| MathLimit | float | Used for bShouldDoMath | EngineRuntimeTests.h |
|
| TickCount | int32 | Number of times this has ticked since reset | EngineRuntimeTests.h |
|
| TickOrder | int32 | Indicates when this was ticked in a frame, with 1 being first | EngineRuntimeTests.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| SpriteComponent | TObjectPtr< UBillboardComponent > | EngineRuntimeTests.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DoTick() |
Do the actual work | EngineRuntimeTests.h | |
virtual void ResetState() |
Reset state before next test, call this after unregistering tick | EngineRuntimeTests.h | |
virtual void VirtualTick() |
Virtual function wrapper | EngineRuntimeTests.h |
Overridden from AActor
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Tick
(
float DeltaSeconds |
AActor version | EngineRuntimeTests.h |