Class SynthesizedTrackable<T>
Representation for a single typed property in a piece of Synthesized MARS data
Inheritance
SynthesizedTrackable<T>
Implements
Inherited Members
Component.GetComponent<T>()
Component.TryGetComponent<T>(out T)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentInParent<T>()
Component.GetComponentsInParent<T>()
Component.GetComponents<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: Unity.MARS.Data.Synthetic
Assembly: Unity.MARS.dll
Syntax
public abstract class SynthesizedTrackable<T> : SynthesizedTrackable, ISimulatable, ISynthesizedData, IProvidesTraits<bool>, IProvidesTraits, IUsesMARSTrackableData<T> where T : IMRTrackable
Type Parameters
Name | Description |
---|---|
T | The type of data being represented by this trait |
Methods
AddSynthData(int)
Add the data for this SynthesizedTrackable to the MARS database
Declaration
public override sealed void AddSynthData(int dataID)
Parameters
Type | Name | Description |
---|---|---|
int | dataID | The data ID associated with this trackable object |
Overrides
GetData()
Calculates and retrieves the most up-to-date piece of data representing this trackable object
Declaration
public abstract T GetData()
Returns
Type | Description |
---|---|
T | The data representing this trackable object |
GetProvidedTraits()
Get the traits provided by this SynthesizedTrackable
Declaration
public virtual TraitDefinition[] GetProvidedTraits()
Returns
Type | Description |
---|---|
TraitDefinition[] | The provided traits |
RemoveSynthData(int)
Remove the data for this SynthesizedTrackable from the MARS database
Declaration
public override sealed void RemoveSynthData(int dataID)
Parameters
Type | Name | Description |
---|---|---|
int | dataID | The data ID associated with this trackable object |
Overrides
UpdateSynthData()
Update the data in the MARS database associated with this trackable object
Declaration
public override sealed void UpdateSynthData()