Class ABRConfig
This Scriptable Object controls the ABR configuration before startup. On
engine startup, a copy is instantiated for use at runtime.
Assembly: IVLab.ABREngine.Runtime.dll
Syntax
[CreateAssetMenu(fileName = "ABRConfig", menuName = "ABR/ABR Configuration")]
public class ABRConfig : ScriptableObject
Fields
|
Improve this Doc
View Source
dataServerUrl
What server to obtain data from, if any. If none provided,
ABR will assume that everything is in Unity's persistentData
path. If server is provided and resource doesn't exist in
persistentData, it will be downloaded. Default: null
Declaration
[Tooltip("Server to load VisAssets from (e.g. `http://192.168.137.1:8001/api`")]
public string dataServerUrl
Field Value
|
Improve this Doc
View Source
defaultColor
This Scriptable Object controls the ABR configuration before startup. On
engine startup, a copy is instantiated for use at runtime.
Declaration
[Tooltip("Default color for geometries that have not had a colormap applied yet")]
public Color defaultColor
Field Value
|
Improve this Doc
View Source
defaultDataContainer
Default bounds for datasets when showing (in Unity world coordinates)
Declaration
[Tooltip("Unity world-space container to automatically 'squish' all data into to avoid overflowing Unity coordinates")]
public Bounds defaultDataContainer
Field Value
|
Improve this Doc
View Source
defaultGlyph
This Scriptable Object controls the ABR configuration before startup. On
engine startup, a copy is instantiated for use at runtime.
Declaration
[Header("Styling Defaults")]
[Tooltip("Default shape/color for glyphs in the Glyph layer")]
public GameObject defaultGlyph
Field Value
|
Improve this Doc
View Source
defaultNanColor
This Scriptable Object controls the ABR configuration before startup. On
engine startup, a copy is instantiated for use at runtime.
Declaration
[Tooltip("Default color for NaN values")]
public Color defaultNanColor
Field Value
|
Improve this Doc
View Source
defaultNanLine
This Scriptable Object controls the ABR configuration before startup. On
engine startup, a copy is instantiated for use at runtime.
Declaration
[Tooltip("Default line texture for NaN values on ribbons")]
public Texture2D defaultNanLine
Field Value
|
Improve this Doc
View Source
defaultNanTexture
This Scriptable Object controls the ABR configuration before startup. On
engine startup, a copy is instantiated for use at runtime.
Declaration
[Tooltip("Default texture for NaN values on surfaces")]
public Texture2D defaultNanTexture
Field Value
|
Improve this Doc
View Source
loadStateOnStart
Load a state from resources on ABREngine startup
Declaration
[Tooltip("Load a state from Resources or StreamingAssets folder on ABREngine startup. Example: `testState.json` Leave blank for no startup state.")]
public string loadStateOnStart
Field Value
|
Improve this Doc
View Source
This Scriptable Object controls the ABR configuration before startup. On
engine startup, a copy is instantiated for use at runtime.
Declaration
[Header("Common Configuration Options (hover for more info)")]
[Tooltip("Location on this computer where VisAssets and Datasets are located. Relative paths (e.g. `../media`) are also acceptable.")]
public string mediaPath
Field Value
|
Improve this Doc
View Source
persistBetweenScenes
This Scriptable Object controls the ABR configuration before startup. On
engine startup, a copy is instantiated for use at runtime.
Declaration
[Tooltip("Should the ABREngine GameObject persist between scenes?")]
public bool persistBetweenScenes
Field Value
|
Improve this Doc
View Source
schemaName
This Scriptable Object controls the ABR configuration before startup. On
engine startup, a copy is instantiated for use at runtime.
Declaration
[Header("ABR Schema Configuration")]
[Tooltip("Name of the schema to use in ABRSchemas~ folder at root of this package")]
public string schemaName
Field Value
|
Improve this Doc
View Source
serverUrl
What server to connect to, if any. If provided, ABR will try to
register with the server immediately upon startup. Default: null
Declaration
[Tooltip("Full URL of the ABR server / visualization manager that this app should connect to. Leave blank for no server.")]
public string serverUrl
Field Value
|
Improve this Doc
View Source
startServer
This Scriptable Object controls the ABR configuration before startup. On
engine startup, a copy is instantiated for use at runtime.
Declaration
[Tooltip("Should the ABREngine try to start the ABRServer when it is started? Use this option with caution. In most cases the ABR Server should be started externally.")]
public bool startServer
Field Value
|
Improve this Doc
View Source
useAutoDataContainers
This Scriptable Object controls the ABR configuration before startup. On
engine startup, a copy is instantiated for use at runtime.
Declaration
[Header("Data Container Options")]
[Tooltip("Use the automatic data containers (defined in-scene with ABRDataBounds or the defaultDataBounds), or just import coordinates as-is")]
public bool useAutoDataContainers
Field Value
|
Improve this Doc
View Source
visAssetServerUrl
This Scriptable Object controls the ABR configuration before startup. On
engine startup, a copy is instantiated for use at runtime.
Declaration
[Header("Network-Based VisAssets and Data Configuration")]
[Tooltip("Server to load VisAssets from (e.g. `http://192.168.137.1:8000/media/visassets`")]
public string visAssetServerUrl
Field Value
Properties
|
Improve this Doc
View Source
DefaultCamera
Camera to use as ABR's main camera. If left blank, will assume @Camera.main.
Declaration
public Camera DefaultCamera { get; set; }
Property Value
|
Improve this Doc
View Source
Schema
The Json Schema to use for validation of ABR states
Declaration
public JSchema Schema { get; }
Property Value
|
Improve this Doc
View Source
SchemaJson
Schema to use for internally grabbing default values
Declaration
public JObject SchemaJson { get; }
Property Value
|
Improve this Doc
View Source
ServerUrl
Actual URI-ified URL of the server that ABR should connect to
Declaration
public Uri ServerUrl { get; }
Property Value
Methods
|
Improve this Doc
View Source
This Scriptable Object controls the ABR configuration before startup. On
engine startup, a copy is instantiated for use at runtime.
Declaration
public RawABRInput GetDefaultRawABRInput(string plateName, string inputName)
Parameters
Returns
|
Improve this Doc
View Source
Obtain a full list of all inputs available to this plate
Declaration
public string[] GetInputNames(string plateName)
Parameters
Type |
Name |
Description |
string |
plateName |
|
Returns
|
Improve this Doc
View Source
Get the default primitive value for a particular data
impression's parameter
Declaration
public T GetInputValueDefault<T>(string plateName, string inputName) where T : IPrimitive
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
LoadSchema()
This Scriptable Object controls the ABR configuration before startup. On
engine startup, a copy is instantiated for use at runtime.
Declaration
|
Improve this Doc
View Source
ToString()
Returns the name of the object.
Declaration
public override string ToString()
Returns
Type |
Description |
string |
The name returned by ToString.
|
Overrides
UnityEngine.Object.ToString()