Class SimulatedObject
Identifies an object as a simulated replacement for real world data. It injects functionality into all synthesized traits and trackables on this object.
Namespace: Unity.MARS.Data.Synthetic
Syntax
public class SimulatedObject : MonoBehaviour, IUsesFunctionalityInjection
Properties
traits
Declaration
public List<SynthesizedTrait> traits { get; }
Property Value
| Type | Description |
|---|---|
| List<SynthesizedTrait> |
Events
onDisabled
Declaration
public event Action<SimulatedObject> onDisabled
Event Type
| Type | Description |
|---|---|
| Action<SimulatedObject> |