Automatically discovers all classes that inherit from TrackProcessor and have the TrackProcessor attribute and creates an instance of them.
More...
|
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.
◆ RegisterProcessor()
void TimelineMixer.TrackProcessorManager.RegisterProcessor |
( |
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