Skip to content

class_animationtreeplayer

reduz edited this page Nov 14, 2014 · 11 revisions

AnimationTreePlayer

####Inherits: Node ####Category: Core

Brief Description

Animation Player that uses a node graph for the blending.

Member Functions

Numeric Constants

  • NODE_OUTPUT = 0
  • NODE_ANIMATION = 1
  • NODE_ONESHOT = 2
  • NODE_MIX = 3
  • NODE_BLEND2 = 4
  • NODE_BLEND3 = 5
  • NODE_BLEND4 = 6
  • NODE_TIMESCALE = 7
  • NODE_TIMESEEK = 8
  • NODE_TRANSITION = 9

Description

Animation Player that uses a node graph for the blending. This kind of player is very useful when animating character or other skeleton based rigs, because it can combine several animations to form a desired pose.

Member Function Description

Add a node of a given type in the graph with given id.

Check if a node exists (by name).

Rename a node in the graph.

Get the node type, will return from NODE_* enum.

  • int node_get_input_count ( String id ) const

Return the input count for a given node. Different types of nodes have different amount of inputs.

Return the input source for a given node input.

Set the animation for an animation node.

Clone this wiki locally