unreal.AutomatedStaticCameraPerfTestProjectSettings¶
- class unreal.AutomatedStaticCameraPerfTestProjectSettings(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
DeveloperSettingsAutomated Performance Testing | Static Camera
C++ Source:
Plugin: AutomatedPerfTesting
Module: AutomatedPerfTesting
File: AutomatedStaticCameraPerfTestBase.h
Editor Properties: (see get_editor_property/set_editor_property)
capture_screenshots(bool): [Read-Write] If true, will capture a screenshot for each camera tested after gathering datacooldown_time(float): [Read-Write] For how long the static camera performance test should delay after ending evaluation before switching to the next cameragame_mode_override(str): [Read-Write] If set, will launch the material performance test map with this game mode alias (make sure you’ve set the game mode alias in the Maps and Modes settings of your project!)maps_to_test(Array[SoftObjectPath]): [Read-Write] List of levels to testsoak_time(float): [Read-Write] For how long the static camera performance test should gather data on each camera, in secondswarm_up_time(float): [Read-Write] For how long the material performance test should delay before beginning to gather data for a material, in seconds
- property capture_screenshots: bool¶
[Read-Write] If true, will capture a screenshot for each camera tested after gathering data
- Type:
(bool)
- property cooldown_time: float¶
[Read-Write] For how long the static camera performance test should delay after ending evaluation before switching to the next camera
- Type:
(float)
- property game_mode_override: str¶
[Read-Write] If set, will launch the material performance test map with this game mode alias (make sure you’ve set the game mode alias in the Maps and Modes settings of your project!)
- Type:
(str)
- get_map_from_asset_name(asset_name) SoftObjectPath or None¶
Get Map from Asset Name
- Parameters:
asset_name (str)
- Returns:
out_soft_object_path (SoftObjectPath):
- Return type:
SoftObjectPath or None