Class GlobalSettings
Contains globally accessible values.
Namespace: Holoride.ElasticSDK
Assembly: Holoride.ElasticSDK.Library.Runtime.dll
Syntax
[HelpURL("http://localhost:8080/api/Holoride.ElasticSDK.GlobalSettings.html")]
public sealed class GlobalSettings : Singleton<GlobalSettings>
Fields
MaximumSupportedLatitude
The maximum supported latitude between 0 and 90 degrees.
Declaration
public const double MaximumSupportedLatitude = 74
Field Value
Type | Description |
---|---|
double |
MaxWorkersByGroup
The maximum number of OSM nodes that are allowed in a single graph.
Declaration
public static readonly Dictionary<string, int> MaxWorkersByGroup
Field Value
Type | Description |
---|---|
Dictionary<string, int> |
Properties
ApplyPrefabRootTransform
Gets a value indicating whether spawned objects should apply the root rotation and position. The scale is applied either way.
Declaration
public static bool ApplyPrefabRootTransform { get; }
Property Value
Type | Description |
---|---|
bool |
DefaultLaneCount
Gets the default lane count if not provided by the map service.
Declaration
public static int DefaultLaneCount { get; }
Property Value
Type | Description |
---|---|
int |
EnableVerboseLogging
Gets or sets a value indicating whether to enable verbose logging.
Declaration
public static bool EnableVerboseLogging { get; set; }
Property Value
Type | Description |
---|---|
bool |
LaneWidth
Gets the default lane width.
Declaration
public static float LaneWidth { get; }
Property Value
Type | Description |
---|---|
float |
LogDownloadURLs
Gets or sets a value indicating whether to log download URLs for map data providers and such.
Declaration
[Obsolete("Use EnableVerboseLogging")]
public static bool LogDownloadURLs { get; set; }
Property Value
Type | Description |
---|---|
bool |
LogNodeTimings
Gets or sets a value indicating whether to log all node timings.
Declaration
[Obsolete("Use EnableVerboseLogging")]
public static bool LogNodeTimings { get; set; }
Property Value
Type | Description |
---|---|
bool |
LogToFile
Gets or sets a value indicating whether to log into a file located in the [PersistentDataPath] /Holoride/Logs/.
Declaration
public static bool LogToFile { get; set; }
Property Value
Type | Description |
---|---|
bool |
Manifest
Gets the signed manifest for this project.
Declaration
public static string Manifest { get; }
Property Value
Type | Description |
---|---|
string |
RoadSideWidth
Gets the default width added on both sides of each road.
Declaration
public static float RoadSideWidth { get; }
Property Value
Type | Description |
---|---|
float |
Methods
SingletonOnCreate()
Declaration
protected override void SingletonOnCreate()
Overrides
SingletonOnEnable()
Declaration
protected override void SingletonOnEnable()