vtool.maya_lib.anim¶
Function Summary
bake_to_animation (nodes[, min_time, max_time]) |
|
get_min_max_time () |
|
set_min_max_time (min_value, max_value) |
|
playblast (filename) |
Playblast the viewport to the given filename path. |
quick_driven_key (source, target, …[, …]) |
A convenience for create set driven key frames. |
get_keyframe (node_and_attribute) |
|
get_input_keyframes (node[, node_only]) |
Get all keyframes that input into the node. |
get_output_keyframes (node) |
Get all keyframes that output from the node. |
set_infiinity (keyframe[, pre, post]) |
Given a keframe set the in and out infinity to linear. |
Functions
-
bake_to_animation
(nodes, min_time=None, max_time=None)¶
-
get_min_max_time
()¶
-
set_min_max_time
(min_value, max_value)¶
-
playblast
(filename)¶ Playblast the viewport to the given filename path.
Parameters: filename (str) – This should be the path to a quicktime .mov file.
-
quick_driven_key
(source, target, source_values, target_values, infinite=False, tangent_type=’linear’)¶ A convenience for create set driven key frames.
Parameters:
-
get_keyframe
(node_and_attribute)¶
-
get_input_keyframes
(node, node_only=True)¶ Get all keyframes that input into the node.
- Args
- node (str): The name of a node to check for keyframes. node_only (bool): Whether to return just the keyframe name, or also the keyframe.output attribute.
- Return
- list: All of the keyframes connected to the node.
-
get_output_keyframes
(node)¶ Get all keyframes that output from the node.
Parameters: node (str) – The name of a node to check for keyframes. - Return
- list: All of the keyframes that the node connects into.
-
set_infiinity
(keyframe, pre=False, post=False)¶ Given a keframe set the in and out infinity to linear.
Parameters: - keyframe (str) – The name of a keyframe.
- pre (bool) – Whether to set pre inifinity to linear.
- post (bool) – Whether to set post infinity to linear.
- Return
- str: The name of the keyframe.