Class ARTrackablesChangedEventUnit<TManager, TTrackable, TListener>
Base class for units that expose data via the ARTrackableManager.trackablesChanged event.
Namespace: UnityEngine.XR.ARFoundation.VisualScripting
Assembly: Unity.XR.ARFoundation.VisualScripting.dll
Syntax
public abstract class ARTrackablesChangedEventUnit<TManager, TTrackable, TListener> : GameObjectEventUnit<ARTrackablesChangedEventArgs<TTrackable>> where TManager : MonoBehaviour, ITrackablesChanged<TTrackable> where TTrackable : ARTrackable where TListener : MessageListener
Type Parameters
| Name | Description |
|---|---|
| TManager | |
| TTrackable | |
| TListener | The |
Properties
MessageListenerType
The MessageListener type.
Declaration
public override Type MessageListenerType { get; }
Property Value
| Type | Description |
|---|---|
| Type |
added
Trackables added since the last frame.
Declaration
public ValueOutput added { get; }
Property Value
| Type | Description |
|---|---|
| ValueOutput |
hookName
The hook name.
Declaration
protected override string hookName { get; }
Property Value
| Type | Description |
|---|---|
| string |
removed
Trackables removed since the last frame.
Declaration
public ValueOutput removed { get; }
Property Value
| Type | Description |
|---|---|
| ValueOutput |
updated
Trackables updated since the last frame.
Declaration
public ValueOutput updated { get; }
Property Value
| Type | Description |
|---|---|
| ValueOutput |
Methods
AssignArguments(Flow, ARTrackablesChangedEventArgs<TTrackable>)
Assigns args to flow.
Declaration
protected override void AssignArguments(Flow flow, ARTrackablesChangedEventArgs<TTrackable> args)
Parameters
| Type | Name | Description |
|---|---|---|
| Flow | flow | The flow. |
| ARTrackablesChangedEventArgs<TTrackable> | args | The arguments. |
Definition()
Unit definition.
Declaration
protected override void Definition()