Class PerceptionSettings
Package setting that can be stored in unity editor and passed during build execution as a command line parameter
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEngine.Perception.Settings
Assembly: Unity.Perception.Runtime.dll
Syntax
[Serializable]
[AddComponentMenu("")]
public class PerceptionSettings : MonoBehaviour
Fields
accumulationSettings
Declaration
[SerializeReference]
public AccumulationSettings accumulationSettings
Field Value
Type | Description |
---|---|
AccumulationSettings |
Properties
defaultOutputPath
Default output folder for the dataset generation
Declaration
public static string defaultOutputPath { get; }
Property Value
Type | Description |
---|---|
string |
endpoint
Declaration
public static IConsumerEndpoint endpoint { get; set; }
Property Value
Type | Description |
---|---|
IConsumerEndpoint |
Methods
GetOutputBasePath()
Method to get output path based on configuration
Declaration
public static string GetOutputBasePath()
Returns
Type | Description |
---|---|
string | Path to the output file |
GetSerializedSettings()
Declaration
public static SerializedObject GetSerializedSettings()
Returns
Type | Description |
---|---|
SerializedObject |
Save()
Declaration
public static void Save()
SetOutputBasePath(string)
Sets the output path for the active endpoint type. This will set the path for the next simulation, it will not affect a simulation that is currently executing. In order for this to take effect the caller should call ResetSimulation()
Declaration
public static void SetOutputBasePath(string path)
Parameters
Type | Name | Description |
---|---|---|
string | path | The output path |