| ValueSetterTTryGetTransitionValue Method |
Implement this to make your value transition from startValue to endValue.
Namespace:
DustProductions.Core
Assembly:
DustProductions.Core (in DustProductions.Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax protected abstract bool TryGetTransitionValue(
ref T startValue,
ref T endValue,
float secondsElapsed,
out T valueAtTime
)
Parameters
- startValue
- Type: T
The initial value, before the transition begins. - endValue
- Type: T
The final value, after the transition ends. - secondsElapsed
- Type: SystemSingle
The amount of time that has passed since the transition began. - valueAtTime
- Type: T
The value of the Type at the secondsElapsed time for the transition.
Return Value
Type:
BooleanTrue if getting the transition value succeeds, false otherwise.
See Also