Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Public/Tests/AutomationEditorCommon.h |
Include |
#include "Tests/AutomationEditorCommon.h" |
class FAutomationEditorCommonUtils
Name | Description | ||
---|---|---|---|
|
ApplyCustomFactorySetting |
Applies settings to an object by finding UProperties by name and calling ImportText |
|
|
ApplyCustomFactorySettings ( |
Applies the custom factory settings |
|
|
CollectGameContentTests |
Generates a list of assets from the GAME by a specific type. |
|
|
CollectGameContentTestsByClass |
Generates a list of assets from the GAME by a specific type. |
|
|
CollectTestsByClass |
Generates a list of assets from the ENGINE and the GAME by a specific type. |
|
|
ConvertPackagePathToAssetPath ( |
Converts a package path to an asset path |
|
|
CreateArrayFromFile |
Returns the contents of a text file as an array of FString. |
|
|
UWorld * |
CreateNewMap() |
Creates a new map for editing. Also clears editor tools that could cause issues when changing maps |
|
GetAssetDataFromPackagePath ( |
Gets the asset data from a package path |
|
|
UClass * |
GetFactoryClassForType ( |
Gets a factory class based off an asset file extension |
|
GetLaunchOnDeviceID |
Returns the DeviceID 'Platform' Searches the automation preferences for the platform to use. |
|
|
GetLaunchOnDeviceID |
Returns the first DeviceID 'Platform' Searches the automation preferences for the platform to use. |
|
|
UObject *... |
ImportAssetUsingFactory |
Imports an object using a given factory |
|
IsArchiveWriteable |
Returns true if the archive/file can be written to otherwise false. |
|
|
float |
LargestValueInFloatArray ( |
Returns the largest value from an array of float numbers. |
|
LoadMap ( |
Loads the map specified by an automation test |
|
|
NullReferencesToObject ( |
Nulls out references to a given object |
|
|
RunPIE ( |
Run PIE |
|
|
SetOrthoViewportView |
Sets the first found ortho viewport camera to the desired location and rotation. |
|
|
float |
TotalFromFloatArray |
Returns the sum of the numbers available in an array of float. |
|
WriteToTextFile |
Writes a number to a text file. Writes a number to a text file. |