Skip to content

Commit

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

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

.. image:: images/animate_vector_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 afected 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_vector_node_example.gif
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 @@ -8,5 +8,6 @@ Animation
Delay <delay_time>
Repeat <repeat_time>
Animate Float <animate_float>
Animate Vector <animate_vector>

.. image:: images/animation_overview.png

0 comments on commit 4101709

Please sign in to comment.