Navigation
API > API/Plugins > API/Plugins/AutomatedPerfTesting
| Name | UAutomatedMaterialPerfTestProjectSettings |
| Type | class |
| Header File | /Engine/Plugins/Performance/AutomatedPerfTesting/Source/AutomatedPerfTesting/Public/AutomatedMaterialPerfTest.h |
| Include Path | #include "AutomatedMaterialPerfTest.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, Config=Engine, defaultconfig,
DisplayName="Automated Performance Testing | Materials")
class UAutomatedMaterialPerfTestProjectSettings : public UDeveloperSettings
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UDeveloperSettings → UAutomatedMaterialPerfTestProjectSettings
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UAutomatedMaterialPerfTestProjectSettings
(
const FObjectInitializer& |
AutomatedMaterialPerfTest.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bCaptureScreenshots | bool | If true, will capture a screenshot for each material tested after gathering data | AutomatedMaterialPerfTest.h |
|
| CameraProjectionMode | TEnumAsByte< ECameraProjectionMode::Type > | Which camera projection mode to use | AutomatedMaterialPerfTest.h |
|
| CooldownTime | float | For how long the material performance test should delay after ending evaluation before switching to the next material | AutomatedMaterialPerfTest.h |
|
| CSVOutputMode | EAutomatedPerfTestCSVOutputMode | For Material Perf Tests, Granular will output one CSV per-material. | AutomatedMaterialPerfTest.h |
|
| GameModeOverride | FString | 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!) | AutomatedMaterialPerfTest.h |
|
| MaterialPerformanceTestMap | FSoftObjectPath | The map in which the material test will take place. | AutomatedMaterialPerfTest.h |
|
| MaterialPlate | FSoftObjectPath | Which static mesh to use as the material plate | AutomatedMaterialPerfTest.h |
|
| MaterialsToTest | TArray< FSoftObjectPath > | List of materials to load and review for the Material Performance Test | AutomatedMaterialPerfTest.h |
|
| PlateDistanceFromCamera | float | 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) | AutomatedMaterialPerfTest.h |
|
| SoakTime | float | For how long the material performance test should gather data on each material, in seconds | AutomatedMaterialPerfTest.h |
|
| WarmUpTime | float | For how long the material performance test should delay before beginning to gather data for a material, in seconds | AutomatedMaterialPerfTest.h |
|
Functions
Public
Overridden from UDeveloperSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FName GetCategoryName() |
Gets the category for the settings, some high level grouping like, Editor, Engine, Game...etc. | AutomatedMaterialPerfTest.h | |
virtual FName GetContainerName() |
Gets the settings container name for the settings, either Project or Editor | AutomatedMaterialPerfTest.h |