Automatically discovers all classes that inherit from TrackProcessor and have the TrackProcessor attribute and creates an instance of them.
More...
|
| void | RegisterProcessorInstance (Type trackType, ITrackProcessor processor) |
| | Stores the track processor in a dictionary, which can be retrieved with the track type.
|
| ITrackProcessor | TryGetProcessor (Type trackType) |
| | Returns a track processor of the given type, or the default processor if there is no entry for that type.
|
|
void | ResetAllTrackProcessors () |
| | Calls Reset on each track processor, use Reset to clear all stored data and empty collections.
|
|
|
void | RegisterAllProcessors () |
| | Uses reflection to discover all track processors.
|
Automatically discovers all classes that inherit from TrackProcessor and have the TrackProcessor attribute and creates an instance of them.
◆ RegisterProcessorInstance()
| void TimelineMixer.TrackProcessorManager.RegisterProcessorInstance |
( |
Type | trackType, |
|
|
ITrackProcessor | processor ) |
|
inline |
Stores the track processor in a dictionary, which can be retrieved with the track type.
- Parameters
-
| trackType | The track type the processor supports. |
| processor | The Track Processor. |
◆ TryGetProcessor()
| ITrackProcessor TimelineMixer.TrackProcessorManager.TryGetProcessor |
( |
Type | trackType | ) |
|
|
inline |
Returns a track processor of the given type, or the default processor if there is no entry for that type.
- Parameters
-
| trackType | The type of the track processor we're trying to find. If the type was "AnimationTrack", and there is a processor that supports that track, it will return the corresponding processor |
- Returns
- Classes that inherit TrackProcessor, which impliments the ITrackProcessor interface