Click or drag to resize

TransitionDefinitionGetTransitionValue Method (Quaternion, Quaternion, Single)

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

Parameters

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

Return Value

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