Click or drag to resize

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

Parameters

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