AnimationNodeBlendTree

Inherits: AnimationRootNode < AnimationNode < Resource < Reference < Object

类别: 核心

简要说明

属性

Vector2

graph_offset

矢量2(0,0)

方法

无效

add_node ( String name, AnimationNode node, Vector2 position=Vector2( 0, 0 ) )

无效

connect_node ( String input_node, int input_index, String output_node )

无效

disconnect_node ( String input_node, int input_index )

AnimationNode

get_node ( String name ) const

Vector2

get_node_position ( String name ) const

bool

has_node ( String name ) const

无效

remove_node ( String name )

无效

rename_node ( String name, String new_name )

无效

set_node_position ( String name, Vector2 position )

常量

  • CONNECTION_OK = 0

  • CONNECTION_ERROR_NO_INPUT = 1

  • CONNECTION_ERROR_NO_INPUT_INDEX = 2

  • CONNECTION_ERROR_NO_OUTPUT = 3

  • CONNECTION_ERROR_SAME_NODE = 4

  • CONNECTION_ERROR_CONNECTION_EXISTS = 5

属性描述

违约

矢量2(0,0)

设定器

设置图形偏移(值)

吸气剂

获取图偏移量()

方法说明

  • void connect_node ( String input_node, int input_index, String output_node )

  • void disconnect_node ( String input_node, int input_index )

  • void remove_node ( String name )