Class SimulationTestRunner
Window that allows you to run one shot simulation against all the synthetic environments
Inherited Members
UnityEditor.EditorWindow.ShowTab()
UnityEditor.EditorWindow.GetWindow<T>()
UnityEditor.EditorWindow.GetWindow<T>(System.Boolean)
UnityEditor.EditorWindow.GetWindow<T>(System.Boolean, System.String)
UnityEditor.EditorWindow.GetWindow<T>(System.String)
UnityEditor.EditorWindow.GetWindow<T>(System.String, System.Boolean)
UnityEditor.EditorWindow.GetWindow<T>(System.Boolean, System.String, System.Boolean)
UnityEditor.EditorWindow.GetWindow<T>(System.Type[])
UnityEditor.EditorWindow.GetWindow<T>(System.String, System.Type[])
UnityEditor.EditorWindow.GetWindow<T>(System.String, System.Boolean, System.Type[])
UnityEditor.EditorWindow.CreateWindow<T>(System.Type[])
UnityEditor.EditorWindow.CreateWindow<T>(System.String, System.Type[])
UnityEditor.EditorWindow.HasOpenInstances<T>()
UnityEditor.EditorWindow.FocusWindowIfItsOpen<T>()
UnityEditor.EditorWindow.GetWindowWithRect<T>(UnityEngine.Rect)
UnityEditor.EditorWindow.GetWindowWithRect<T>(UnityEngine.Rect, System.Boolean)
UnityEditor.EditorWindow.GetWindowWithRect<T>(UnityEngine.Rect, System.Boolean, System.String)
UnityEditor.EditorWindow.GetWindowWithRect<T>(UnityEngine.Rect, System.Boolean, System.String, System.Boolean)
UnityEditor.EditorWindow.depthBufferBits
UnityEditor.EditorWindow.antiAlias
Namespace: UnityEditor.MARS.Simulation
Syntax
[MovedFrom("Unity.MARS")]
public class SimulationTestRunner : EditorWindow, IHasCustomMenu
Fields
WindowTitle
Window title
Declaration
public const string WindowTitle = "Sim Test Runner"
Field Value
Type | Description |
---|---|
String |
Methods
AddItemsToMenu(GenericMenu)
Add the window to the MARS menu
Declaration
public void AddItemsToMenu(GenericMenu menu)
Parameters
Type | Name | Description |
---|---|---|
GenericMenu | menu | Menu to add the window option too |
Implements
InitWindow()
Create the SimulationTestRunner
window
Declaration
[MenuItem("Window/MARS/Sim Test Runner", priority = 1024)]
public static void InitWindow()
OnEnable()
This function is called when the object is loaded.
Declaration
public void OnEnable()
OnGUI()
Window's GUI is drawn here
Declaration
public void OnGUI()
RenderTextureToPreview(RenderTexture)
Converts a render texture to a Texture2D
for use in the window
Declaration
public static Texture2D RenderTextureToPreview(RenderTexture rt)
Parameters
Type | Name | Description |
---|---|---|
RenderTexture | rt | Render texture to convert to a Texture 2D |
Returns
Type | Description |
---|---|
Texture2D | New |