Click or drag to resize

TransitionDefinitionGetTransitionValue Method (Single, Single, Single)

Use this to lookup the float 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 float GetTransitionValue(
	float start,
	float end,
	float currentSeconds
)

Parameters

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

Return Value

Type: Single
The float at the time passed in
See Also