Class TrackablesChangedEventUnitDescriptor<TManager, TSubsystem, TSubsystemDescriptor, TProvider, TSessionRelativeData, TTrackable, TEventArgs, TListener>
Base unit descriptor for units derived from
Trackables
Inheritance
Namespace: UnityEditor .XR.ARFoundation.VisualScripting
Assembly: Unity.XR.ARFoundation.VisualScripting.Editor.dll
Syntax
[Obsolete("TrackablesChangedEventUnitDescriptor has been deprecated in AR Foundation version 6.0.", false)]
public abstract class TrackablesChangedEventUnitDescriptor<TManager, TSubsystem, TSubsystemDescriptor, TProvider, TSessionRelativeData, TTrackable, TEventArgs, TListener> : UnitDescriptor<TrackablesChangedEventUnit<TManager, TSubsystem, TSubsystemDescriptor, TProvider, TSessionRelativeData, TTrackable, TEventArgs, TListener>> where TManager : ARTrackableManager<TSubsystem, TSubsystemDescriptor, TProvider, TSessionRelativeData, TTrackable> where TSubsystem : TrackingSubsystem<TSessionRelativeData, TSubsystem, TSubsystemDescriptor, TProvider>, new() where TSubsystemDescriptor : SubsystemDescriptorWithProvider<TSubsystem, TProvider> where TProvider : SubsystemProvider<TSubsystem> where TSessionRelativeData : struct, ITrackable where TTrackable : ARTrackable<TSessionRelativeData, TTrackable> where TListener : MessageListener
Type Parameters
Name | Description |
---|---|
TManager | The manager type. |
TSubsystem | The subsystem type. |
TSubsystemDescriptor | The subsystem descriptor type. |
TProvider | The subsystem provider type. |
TSessionRelativeData | The session-relative data type. |
TTrackable | The type of trackable for which we are listening. |
TEventArgs | The trackables changed event arguments type. |
TListener | The MessageListener type. |
Constructors
TrackablesChangedEventUnitDescriptor(TrackablesChangedEventUnit<TManager, TSubsystem, TSubsystemDescriptor, TProvider, TSessionRelativeData, TTrackable, TEventArgs, TListener>)
Declaration
protected TrackablesChangedEventUnitDescriptor(TrackablesChangedEventUnit<TManager, TSubsystem, TSubsystemDescriptor, TProvider, TSessionRelativeData, TTrackable, TEventArgs, TListener> target)
Parameters
Type | Name | Description |
---|---|---|
Trackables |
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 |
---|---|---|
IUnit |
port | The port. |
Unit |
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. |