Click or drag to resize

ColorValueSetterTryGetTransitionValue Method

Gets a value from the TransitionDefinition defined on the GameObject.

Namespace:  DustProductions.Core
Assembly:  DustProductions.Core (in DustProductions.Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
protected override bool TryGetTransitionValue(
	ref Color startValue,
	ref Color endValue,
	float secondsElapsed,
	out Color valueAtTime
)

Parameters

startValue
Type: Color
The initial value, before the transition begins.
endValue
Type: Color
The final value, after the transition ends.
secondsElapsed
Type: SystemSingle
The amount of time that has passed since the transition began.
valueAtTime
Type: Color
The value of the Type at the secondsElapsed time for the transition.

Return Value

Type: Boolean
True if getting the transition value succeeds, false otherwise.
See Also