◆ MissionBenchmark()
◆ ~MissionBenchmark()
◆ AdvanceLocation()
protected void AdvanceLocation |
( |
| ) |
|
|
inlineprivate |
References FPSLog(), m_Config, BenchmarkLocation::m_IsDummyWait, m_LocIndex, m_MeasuringStep, BenchmarkLocation::m_Name, m_NextLocation, m_SumFPS, m_TimeCounter, OnLocationSwitch(), and Print().
Referenced by LerpCamera().
◆ CreateCSVLog()
protected void CreateCSVLog |
( |
| ) |
|
|
inlineprivate |
◆ CreatePlayer()
protected void CreatePlayer |
( |
| ) |
|
|
inlineprivate |
◆ FPSLog()
protected void FPSLog |
( |
string |
position, |
|
|
float |
frames |
|
) |
| |
|
inlineprivate |
◆ GetConfig()
BenchmarkConfig GetConfig |
( |
| ) |
|
|
inlineprivate |
◆ GetInstance()
◆ LerpCamera()
protected void LerpCamera |
( |
| ) |
|
|
inlineprivate |
References AdvanceLocation(), Math::Lerp(), BenchmarkLocation::m_CamSpeedMultiplier, m_CurrentLocation, BenchmarkLocation::m_IsDummyWait, m_NextLocation, BenchmarkLocation::m_StartLookAtPos, BenchmarkLocation::m_StartPos, m_StepDistance, m_TimeCounter, and Vector().
Referenced by MeasureUpdate().
◆ MeasureUpdate()
protected void MeasureUpdate |
( |
float |
timeSlice | ) |
|
|
inlineprivate |
◆ OnBenchmarkEnd()
protected void OnBenchmarkEnd |
( |
string |
reason | ) |
|
|
inlineprivate |
◆ OnLocationSwitch()
protected void OnLocationSwitch |
( |
| ) |
|
|
inlineprivate |
References CreatePlayer(), vector::Distance(), GetGame(), GetPlayer(), m_Config, m_CurrentLocation, BenchmarkLocation::m_IsDummyTeleport, BenchmarkLocation::m_IsDummyWait, m_LocIndex, m_MeasureStepTimer, m_MeasuringStep, BenchmarkLocation::m_Name, m_NextLocation, BenchmarkLocation::m_StartLookAtPos, BenchmarkLocation::m_StartPos, m_StepDistance, m_SumFPS, m_TimeCounter, OnBenchmarkEnd(), Print(), and TeleportToPos().
Referenced by AdvanceLocation(), and Start().
◆ OnUpdate()
override void OnUpdate |
( |
float |
timeslice | ) |
|
|
inlineprivate |
◆ PreloadUpdate()
protected void PreloadUpdate |
( |
| ) |
|
|
inlineprivate |
◆ Start()
◆ TeleportToPos()
◆ INITIAL_PRELOAD
protected const int INITIAL_PRELOAD = 5 |
|
private |
◆ m_Config
protected ref BenchmarkConfig m_Config |
|
private |
◆ m_CSVLog
◆ m_CurrentLocation
◆ m_InitialLoadDone
protected bool m_InitialLoadDone |
|
private |
◆ m_Instance
◆ m_IsPreloading
protected bool m_IsPreloading |
|
private |
◆ m_LocationDone
protected bool m_LocationDone |
|
private |
◆ m_LocIndex
◆ m_MeasureLength
protected float m_MeasureLength |
|
private |
◆ m_MeasureStepTimer
protected float m_MeasureStepTimer = 1 |
|
private |
◆ m_MeasuringStep
protected int m_MeasuringStep |
|
private |
◆ m_NextLocation
◆ m_StepDistance
protected float m_StepDistance |
|
private |
◆ m_SumFPS
◆ m_TimeCounter
protected float m_TimeCounter |
|
private |
◆ STEP_INTERVAL
protected const float STEP_INTERVAL = 1 |
|
private |
The documentation for this class was generated from the following file: