unreal.AutomatedMaterialPerfTestProjectSettings¶
- class unreal.AutomatedMaterialPerfTestProjectSettings(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
DeveloperSettingsAutomated Performance Testing | Materials
C++ Source:
Plugin: AutomatedPerfTesting
Module: AutomatedPerfTesting
File: AutomatedMaterialPerfTest.h
Editor Properties: (see get_editor_property/set_editor_property)
camera_projection_mode(CameraProjectionMode): [Read-Write] Which camera projection mode to usecapture_screenshots(bool): [Read-Write] If true, will capture a screenshot for each material tested after gathering datacooldown_time(float): [Read-Write] For how long the material performance test should delay after ending evaluation before switching to the next materialgame_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!)material_performance_test_map(SoftObjectPath): [Read-Write] The map in which the material test will take place. Useful if you need to set up things like RVT volumes that are required by your materials.material_plate(SoftObjectPath): [Read-Write] Which static mesh to use as the material platematerials_to_test(Array[SoftObjectPath]): [Read-Write] List of materials to load and review for the Material Performance Testplate_distance_from_camera(float): [Read-Write] How far away from the camera should the material test plate be placed (will also be used for Ortho Width if the camera projection mode is orthographic)soak_time(float): [Read-Write] For how long the material performance test should gather data on each material, 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 camera_projection_mode: CameraProjectionMode¶
[Read-Write] Which camera projection mode to use
- Type:
- property capture_screenshots: bool¶
[Read-Write] If true, will capture a screenshot for each material tested after gathering data
- Type:
(bool)
- property cooldown_time: float¶
[Read-Write] For how long the material performance test should delay after ending evaluation before switching to the next material
- 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)
- property material_performance_test_map: SoftObjectPath¶
[Read-Write] The map in which the material test will take place. Useful if you need to set up things like RVT volumes that are required by your materials.
- Type:
- property material_plate: SoftObjectPath¶
[Read-Write] Which static mesh to use as the material plate
- Type:
- property materials_to_test: None¶
[Read-Write] List of materials to load and review for the Material Performance Test
- Type:
- property plate_distance_from_camera: float¶
[Read-Write] How far away from the camera should the material test plate be placed (will also be used for Ortho Width if the camera projection mode is orthographic)
- Type:
(float)