class-description NEWS COMMUNITY STORE TUTORIALS SIGN UP LOGIN LOGOUT ROKOJORI NEWSLETTER SIGN UP LOGIN LOGOUT NEWS COMMUNITY STORE TUTORIALS TOGGLE FULLSCREEN VOLLBILD AN/AUS ObjectRefCountedResourceAnimationNodeAnimationRootNode AnimationNodeBlendTree
A sub-tree of many type AnimationNodes used for complex animations. Used by AnimationTree.
This animation node may contain a sub-tree of any other type animation nodes, such as AnimationNodeTransition, AnimationNodeBlend2, AnimationNodeBlend3, AnimationNodeOneShot, etc. This is one of the most commonly used animation node roots.
An AnimationNodeOutput node named output is created by default.
* Constants<>():*

CONNECTION_OK:null = 0
The connection was successful.


CONNECTION_ERROR_NO_INPUT:null = 1
The input node is null.


CONNECTION_ERROR_NO_INPUT_INDEX:null = 2
The specified input port is out of range.


CONNECTION_ERROR_NO_OUTPUT:null = 3
The output node is null.


CONNECTION_ERROR_SAME_NODE:null = 4
Input and output nodes are the same.


CONNECTION_ERROR_CONNECTION_EXISTS:null = 5
The specified connection already exists.
Signal node_changed<>( StringName node_name=, node_name:StringName=, ):Signal
Emitted when the input port information is changed.

set get Vector2 graph_offset<>():Vector2 set get
The global offset of all sub animation nodes.

void add_node<>( StringName name=, name:StringName=, AnimationNode node=, node:AnimationNode=, Vector2 position=Vector2(0, 0), position:Vector2=Vector2(0, 0), ):void
Adds an AnimationNode at the given position. The name is used to identify the created sub animation node later.

void connect_node<>( StringName input_node=, input_node:StringName=, int input_index=, input_index:int=, StringName output_node=, output_node:StringName=, ):void
Connects the output of an AnimationNode as input for another AnimationNode, at the input port specified by input_index.

void disconnect_node<>( StringName input_node=, input_node:StringName=, int input_index=, input_index:int=, ):void
Disconnects the animation node connected to the specified input.

AnimationNode get_node<>( StringName name=, name:StringName=, ):AnimationNode
Returns the sub animation node with the specified name.

StringName[] get_node_list<>():StringName[]
Returns a list containing the names of all sub animation nodes in this blend tree.

Vector2 get_node_position<>( StringName name=, name:StringName=, ):Vector2
Returns the position of the sub animation node with the specified name.

bool has_node<>( StringName name=, name:StringName=, ):bool
Returns true if a sub animation node with specified name exists.

void remove_node<>( StringName name=, name:StringName=, ):void
Removes a sub animation node.

void rename_node<>( StringName name=, name:StringName=, StringName new_name=, new_name:StringName=, ):void
Changes the name of a sub animation node.

void set_node_position<>( StringName name=, name:StringName=, Vector2 position=, position:Vector2=, ):void
Modifies the position of a sub animation node.




All social media brands are registrated trademarks and belong to their respective owners.





CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
We are using cookies on this site. Read more... Wir benutzen Cookies auf dieser Seite. Mehr lesen...