Class: Yuki::Animation::ScalarOffsetAnimation
- Inherits:
-
ScalarAnimation
- Object
- TimedAnimation
- ScalarAnimation
- Yuki::Animation::ScalarOffsetAnimation
- Defined in:
- docs/4_Systems_005_Animation.rb
Overview
Scalar animation with offset
Instance Attribute Summary
Attributes inherited from TimedAnimation
#begin_time, #end_time, #parallel_animations, #root, #sub_animation, #time_source
Instance Method Summary collapse
-
#initialize(time_to_process, on, property_get, property_set, a, b, distortion: :UNICITY_DISTORTION, time_source: :GENERIC_TIME_SOURCE) ⇒ ScalarOffsetAnimation
constructor
Create a new ScalarOffsetAnimation convert it to another number (between 0 & 1) in order to distord time.
Methods inherited from ScalarAnimation
Methods inherited from TimedAnimation
#done?, #in_parallel_of, #parallel_add, #play_before, #resolver=, #start, #update
Constructor Details
#initialize(time_to_process, on, property_get, property_set, a, b, distortion: :UNICITY_DISTORTION, time_source: :GENERIC_TIME_SOURCE) ⇒ ScalarOffsetAnimation
Create a new ScalarOffsetAnimation convert it to another number (between 0 & 1) in order to distord time
190 191 |
# File 'docs/4_Systems_005_Animation.rb', line 190 def initialize(time_to_process, on, property_get, property_set, a, b, distortion: :UNICITY_DISTORTION, time_source: :GENERIC_TIME_SOURCE) end |