Class ARTrackablesChangedEventUnitDescriptor<TManager, TTrackable, TListener>
Base unit descriptor for units derived from ARTrackablesChangedEventUnit<TManager, TTrackable, TListener>.
Namespace: UnityEditor.XR.ARFoundation.VisualScripting
Assembly: Unity.XR.ARFoundation.VisualScripting.Editor.dll
Syntax
public abstract class ARTrackablesChangedEventUnitDescriptor<TManager, TTrackable, TListener> : UnitDescriptor<ARTrackablesChangedEventUnit<TManager, TTrackable, TListener>> where TManager : MonoBehaviour, ITrackablesChanged<TTrackable> where TTrackable : ARTrackable where TListener : MessageListener
Type Parameters
| Name | Description |
|---|---|
| TManager | The manager type. |
| TTrackable | The type of trackable for which we are listening. |
| TListener | The message listener type. |
Constructors
ARTrackablesChangedEventUnitDescriptor(ARTrackablesChangedEventUnit<TManager, TTrackable, TListener>)
Declaration
protected ARTrackablesChangedEventUnitDescriptor(ARTrackablesChangedEventUnit<TManager, TTrackable, TListener> target)
Parameters
| Type | Name | Description |
|---|---|---|
| ARTrackablesChangedEventUnit<TManager, TTrackable, TListener> | target |
See Also
Properties
addedPortDescription
The Added port description.
Declaration
protected virtual string addedPortDescription { get; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
removedPortDescription
The Removed port description.
Declaration
protected virtual string removedPortDescription { get; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
targetPortDescription
The Target port description.
Declaration
protected virtual string targetPortDescription { get; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
unitDescription
The unit description.
Declaration
protected virtual string unitDescription { get; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
updatedPortDescription
The Updated port description.
Declaration
protected virtual string updatedPortDescription { get; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
Methods
DefinedPort(IUnitPort, UnitPortDescription)
Render summaries of each port in the Graph Inspector.
Declaration
protected override void DefinedPort(IUnitPort port, UnitPortDescription portDescription)
Parameters
| Type | Name | Description |
|---|---|---|
| IUnitPort | port | The port. |
| UnitPortDescription | portDescription | The port description to write to. |
See Also
DefinedSummary()
Render a summary under the unit title in the Graph Inspector.
Declaration
protected override string DefinedSummary()
Returns
| Type | Description |
|---|---|
| string | The summary. |