Test framework prebuild step to collect reference images for the current test run and prepare them for use in the
player.
Will also build Lightmaps for specially labelled scenes.
Inheritance
SetupGraphicsTestCases
public static class SetupGraphicsTestCases
Methods
Declaration
public static bool IsSceneAssetSelected()
Returns
Declaration
[MenuItem("Assets/Tests/Toggle Scene for Bake")]
public static void LabelSceneForBake()
Declaration
[MenuItem("Assets/Tests/Toggle Scene for Bake", true)]
public static bool LabelSceneForBake_Test()
Returns
Set the Game View size to match the desired width and height at runtime
Declaration
public static void SetGameViewSize(int width, int height)
Parameters
Declaration
public static void Setup(string rootImageTemplatePath = null, string imageResultsPath = "")
Parameters
Type |
Name |
Description |
String |
rootImageTemplatePath |
|
String |
imageResultsPath |
|