Skip to content

Commit

Permalink
Added Fcurve Keframes Node
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarEmaraDev committed Mar 21, 2017
1 parent 1919ff9 commit 84b96db
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/user_guide/nodes/fcurves/fcurve_info.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FCurve Info

Description
-----------
This node returns some inormation about the input fcurve.
This node returns some information about the input fcurve.

.. image:: images/fcurve_info_node.png
:width: 160pt
Expand Down
32 changes: 32 additions & 0 deletions docs/user_guide/nodes/fcurves/fcurve_keyframes.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
FCurve Keyframes
================

Description
-----------
This node return the location and the value of the keyframes that composed the FCurve.

For instance, If one were to animate the x location of an object he would insert a keyframe at the frame `0` when the object location was `0` and another keyframe at the frame `20` when the location of the object was `5`. An fcurve would be created as a result of this animation and this node will return 2 lists, **KeyFrames Frames** which will contain `[0,20]` which is the location of our frames and **KeyFrames Values** which will contain `[0,5]` which is the x locations of our frames.

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

Inputs
------

- **FCurve** - An input fcurve.

Outputs
-------

- **Keyframes Frames** - A float list that contain the locations of the frames that composed the input fcurve.
- **Keyframes Values** - A float list that contain the values of the frames that composed the input fcurve.

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

- N/A

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

.. image:: gifs/fcurve_keyframes_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/fcurves/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ FCurves
FCurves From Object <fcurves_from_object>
Evaluate FCurve <evaluate_fcurve>
FCurve Info <fcurve_info>
FCurve Keyframes <fcurve_keyframes>

.. image:: images/fcurves_overview.png

0 comments on commit 84b96db

Please sign in to comment.