Class SimulationTestRunner
Window that allows you to run one shot simulation against all the synthetic environments
Implements
Inherited Members
EditorWindow.focusedWindowChanged
EditorWindow.GetWindow<T>()
EditorWindow.HasOpenInstances<T>()
EditorWindow.FocusWindowIfItsOpen<T>()
EditorWindow.GetWindowWithRect<T>(Rect)
EditorWindow.depthBufferBits
EditorWindow.antiAlias
EditorWindow.windowFocusChanged
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance<T>()
Object.GetHashCode()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEditor.MARS.Simulation
Assembly: Unity.MARS.Editor.dll
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 |
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 |