unreal.AutomatedMaterialPerfTestProjectSettings

class unreal.AutomatedMaterialPerfTestProjectSettings(outer: Object | None = None, name: Name | str = 'None')

Bases: DeveloperSettings

Automated Material Perf Test Project Settings

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 use

  • capture_screenshots (bool): [Read-Write] * If true, will capture a screenshot for each material tested after gathering data

  • cooldown_time (float): [Read-Write] * For how long the material performance test should delay after ending evaluation before switching to the next material

  • csv_output_mode (AutomatedPerfTestCSVOutputMode): [Read-Write] * For Material Perf Tests, Granular will output one CSV per-material.

  • 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!)

  • 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 plate

  • materials_to_test (Array[SoftObjectPath]): [Read-Write] * List of materials to load and review for the Material Performance Test

  • 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)

  • soak_time (float): [Read-Write] * For how long the material performance test should gather data on each material, in seconds

  • warm_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:

(CameraProjectionMode)

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 csv_output_mode: AutomatedPerfTestCSVOutputMode

[Read-Write] * For Material Perf Tests, Granular will output one CSV per-material.

Type:

(AutomatedPerfTestCSVOutputMode)

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:

(SoftObjectPath)

property material_plate: SoftObjectPath

[Read-Write] * Which static mesh to use as the material plate

Type:

(SoftObjectPath)

property materials_to_test: None

[Read-Write] * List of materials to load and review for the Material Performance Test

Type:

(Array[SoftObjectPath])

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)

property soak_time: float

[Read-Write] * For how long the material performance test should gather data on each material, in seconds

Type:

(float)

property warm_up_time: float

[Read-Write] * For how long the material performance test should delay before beginning to gather data for a material, in seconds

Type:

(float)