Skip to content

Commit

Permalink
Added Animate Float Node
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarEmaraDev committed Mar 17, 2017
1 parent 01cf93e commit c2c6d30
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 0 deletions.
34 changes: 34 additions & 0 deletions docs/user_guide/nodes/animation/animate_float.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
Animate Float
=============

Description
-----------
This node mixs between two floats where the factor for mixing is the time mapped to an input interval---*Duration*.

.. image:: images/animate_float_node.png
:width: 160pt

Inputs
------

- **Time** - A time or the factor for mixing.
- **Start** - A value to start the animation with or the first input for mixing.
- **End** - A value to end the animation with or the second input for mixing.
- **Interpolation** - An Interpolation(Function) to evaluate the time at (Linear will just use the input time).
- **Duration** - The duration of the animation or the interval to map the time to.

Outputs
-------

- **Time** - The different between the input time and the duration (Isn't affected by the input interpolation).
- **Result** - The value of the animation evaluated at the input time or the result of mixing.

Advanced Node Settings
----------------------

- N/A

Examples of Usage
-----------------

.. image:: gifs/animate_float_node_example.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/user_guide/nodes/animation/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ Animation
Time Info <time_info>
Delay <delay_time>
Repeat <repeat_time>
Animate Float <animate_float>

.. image:: images/animation_overview.png

0 comments on commit c2c6d30

Please sign in to comment.