Class GetTrackablesUnitDescriptor<TManager, TSubsystem, TSubsystemDescriptor, TProvider, TSessionRelativeData, TTrackable>
Base unit descriptor type for units derived from GetTrackablesUnit<TManager, TSubsystem, TSubsystemDescriptor, TProvider, TSessionRelativeData, TTrackable>.
Inheritance
GetTrackablesUnitDescriptor<TManager, TSubsystem, TSubsystemDescriptor, TProvider, TSessionRelativeData, TTrackable>
Namespace: UnityEditor.XR.ARFoundation.VisualScripting
Assembly: Unity.XR.ARFoundation.VisualScripting.Editor.dll
Syntax
public abstract class GetTrackablesUnitDescriptor<TManager, TSubsystem, TSubsystemDescriptor, TProvider, TSessionRelativeData, TTrackable> : UnitDescriptor<GetTrackablesUnit<TManager, TSubsystem, TSubsystemDescriptor, TProvider, TSessionRelativeData, TTrackable>> 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>
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 trackable type. |
Constructors
GetTrackablesUnitDescriptor(GetTrackablesUnit<TManager, TSubsystem, TSubsystemDescriptor, TProvider, TSessionRelativeData, TTrackable>)
Declaration
protected GetTrackablesUnitDescriptor(GetTrackablesUnit<TManager, TSubsystem, TSubsystemDescriptor, TProvider, TSessionRelativeData, TTrackable> target)
Parameters
| Type | Name | Description |
|---|---|---|
| GetTrackablesUnit<TManager, TSubsystem, TSubsystemDescriptor, TProvider, TSessionRelativeData, TTrackable> | target |
See Also
Fields
k_ListPortLabel
The label of the input List port.
Declaration
protected const string k_ListPortLabel = "List"
Field Value
| Type | Description |
|---|---|
| string |
See Also
Properties
managerInPortDescription
The manager input port description.
Declaration
protected virtual string managerInPortDescription { get; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
trackablesInPortDescrption
The trackables list input port description.
Declaration
protected virtual string trackablesInPortDescrption { get; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
trackablesOutPortDescription
The trackables list output port description.
Declaration
protected virtual string trackablesOutPortDescription { 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
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. |