Click or drag to resize

TransitionDefinitionGetTransitionValue Method (Color, Color, Single)

Use this to lookup the Color between start and end at the seconds passed in, with respect to SecondsForTransition.

Namespace:  DustProductions.Core
Assembly:  DustProductions.Core (in DustProductions.Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public Color GetTransitionValue(
	Color start,
	Color end,
	float currentSeconds
)

Parameters

start
Type: Color
Where the Color was before the transition started
end
Type: Color
Where the Color will be after the transition is complete
currentSeconds
Type: SystemSingle
The number of seconds elapsed since the transition began

Return Value

Type: Color
The Color at the time passed in
See Also