Ultimate Replay Scripting Reference
ReplayVariableRegisterCustomInterpolatorT Method |
Allows a custom interpolation method to be registered so that unsupported variable types can be interpolated automatically.
Namespace: UltimateReplay.Core
Assembly: UltimateReplay (in UltimateReplay.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static void RegisterCustomInterpolator<T>( Func<Object, Object, float, Object> interpolatorFunc )
Parameters
- interpolatorFunc
- Type: SystemFuncObject, Object, Single, Object
The interpolation method to invoke when interpolation of the custom type is required
Type Parameters
- T
- The type of varaible that the custom interpolation should be used for
See Also