Class SynthesizedTrackable
Namespace: Unity.MARS.Data
Syntax
public abstract class SynthesizedTrackable : MonoBehaviour, ISimulatable
Properties
TraitName
Identifies the type of data being synthesized
Declaration
public abstract string TraitName { get; }
Property Value
Type | Description |
---|---|
String |
Methods
AddSynthData(Int32)
Called when the SynthesizedObject is appending this data to an existing object
Declaration
public abstract void AddSynthData(int dataID)
Parameters
Type | Name | Description |
---|---|---|
Int32 | dataID | The entity that will hold the synthesized data |
Initialize()
Called when the SynthesizedTrackable is used for the first time by a SynthesizedObject
Declaration
public virtual void Initialize()
RemoveSynthData(Int32)
Called when the SynthesizedObject around this data is being removed
Declaration
public abstract void RemoveSynthData(int dataID)
Parameters
Type | Name | Description |
---|---|---|
Int32 | dataID | The entity that holds this data |
Terminate()
Called when the SynthesizedTrackable data is cleared by a SynthesizedObject
Declaration
public virtual void Terminate()
UpdateSynthData()
Called when the SynthesizedObject around this data is being updated
Declaration
public abstract void UpdateSynthData()