RaTweening 1.0.0
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
RaTweening.RaLight.RaTweenIntensity Class Reference

A RaTweenDynamic<TargetT, ValueT> tween that is the base class that handles the logics of tweening the Intensity of a Light More...

Inheritance diagram for RaTweening.RaLight.RaTweenIntensity:
RaTweening.RaTweenDynamic< Light, float >

Public Member Functions

 RaTweenIntensity (Light target, float endValue, float duration)
 
 RaTweenIntensity (Light target, float startValue, float endValue, float duration)
 
- Public Member Functions inherited from RaTweening.RaTweenDynamic< Light, float >
 RaTweenDynamic (TargetT target, ValueT start, ValueT end, float duration)
 
 RaTweenDynamic (TargetT target, ValueT end, float duration)
 
RaTweenDynamic< TargetT, ValueT > From ()
 Makes it so the End value set within the tween becomes the start value And the start value becomes the value currently set within the target

‍Note: This method Disables SetStartDynamic(bool)

More...
 
RaTweenDynamic< TargetT, ValueT > SetStartValue (ValueT start)
 This API call Sets the start value of the tween.

‍Note: This makes it so the SetStartRef(TargetT) is cleared.
Note: This makes it so the SetStartDynamic(bool) is set to false

More...
 
RaTweenDynamic< TargetT, ValueT > SetStartRef (TargetT start)
 This API call Sets the start reference of the tween. The tween will copy the value from the reference to determine its start value at runtime. SetDynamicSetupStep(RaTweenDynamicSetupStep) to see when this value is calculated

‍Note: this makes it so the SetStartValue(ValueT) is cleared.
Note: This makes it so the SetStartDynamic(bool) is set to false

More...
 
RaTweenDynamic< TargetT, ValueT > SetEndValue (ValueT end)
 This API call Sets the end value of the tween.

‍Note: this makes it so the SetEndRef(TargetT) is cleared.

More...
 
RaTweenDynamic< TargetT, ValueT > SetEndRef (TargetT end)
 This API call Sets the end reference of the tween. The tween will copy the value from the reference to determine its end value at runtime. SetDynamicSetupStep(RaTweenDynamicSetupStep) to see when this value is calculated

‍Note: this makes it so the SetEndValue(ValueT) is cleared.

More...
 
RaTweenDynamic< TargetT, ValueT > SetTarget (TargetT target)
 This API call Sets target on which to apply the tween This target will be tweening from the start value to the end value More...
 
RaTweenDynamic< TargetT, ValueT > SetEndIsDelta (bool enabled=true)
 Makes it so the value set within the end value or reference is calculated as delta at runtime So an end value of 5 while the target is at value 20 would result in a final end value of 25. SetDynamicSetupStep(RaTweenDynamicSetupStep) to see when this value is calculated More...
 
RaTweenDynamic< TargetT, ValueT > SetStartDynamic (bool enabled=true)
 Makes it so the value set within the start value or reference is ignored and rather the value at which the object is at calculation time has is used as start value. SetDynamicSetupStep(RaTweenDynamicSetupStep) to see when this value is calculated More...
 
RaTweenDynamic< TargetT, ValueT > SetDynamicSetupStep (RaTweenDynamicSetupStep step)
 Determines when the SetStartDynamic(bool) and the SetEndIsDelta(bool) are calculated Read RaTweenDynamicSetupStep for the details on the calculation steps

‍Note: When set to RaTweenDynamicSetupStep.Start, it recalculates the values on each loop

More...
 

Protected Member Functions

override RaTweenDynamic< Light, float > DynamicClone ()
 
override void DynamicEvaluation (float normalizedValue, Light target, float start, float end)
 
override float GetEndByDelta (float start, float delta)
 
override float ReadValue (Light reference)
 
- Protected Member Functions inherited from RaTweening.RaTweenDynamic< Light, float >
abstract RaTweenDynamic< TargetT, ValueT > DynamicClone ()
 
abstract ValueT GetEndByDelta (ValueT start, ValueT delta)
 
abstract ValueT ReadValue (TargetT reference)
 
override void SetDefaultValues ()
 
override void ApplyRewind (bool resumeAfterRewind)
 
override RaTween RaTweenClone ()
 
override void OnSetup ()
 
override void OnStart ()
 
override void Evaluate (float normalizedValue)
 
override void Dispose ()
 
abstract void DynamicEvaluation (float normalizedValue, TargetT target, ValueT start, ValueT end)
 

Additional Inherited Members

- Properties inherited from RaTweening.RaTweenDynamic< Light, float >
TargetT Target [get]
 The Target to apply the value evaluation on
 
ValueT Start [get]
 The Value to start the Tween at (in which state it will begin)
 
ValueT End [get]
 The value to end the Tween to (in which state it will result)
 
override bool IsValid [get]
 

Detailed Description

A RaTweenDynamic<TargetT, ValueT> tween that is the base class that handles the logics of tweening the Intensity of a Light

Member Function Documentation

◆ DynamicClone()

override RaTweenDynamic< Light, float > RaTweening.RaLight.RaTweenIntensity.DynamicClone ( )
protectedvirtual