Click or drag to resize

FloatValueSetterTryGetTransitionValue 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 float startValue,
	ref float endValue,
	float secondsElapsed,
	out float valueAtTime
)

Parameters

startValue
Type: SystemSingle
The initial value, before the transition begins.
endValue
Type: SystemSingle
The final value, after the transition ends.
secondsElapsed
Type: SystemSingle
The amount of time that has passed since the transition began.
valueAtTime
Type: SystemSingle
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