AnimationNodeBlendSpace2D

Inherits: AnimationRootNode < AnimationNode < Resource < Reference < Object

Category: Core

Brief Description

Methods

void add_blend_point ( AnimationRootNode node, Vector2 pos, int at_index=-1 )
void add_triangle ( int x, int y, int z, int at_index=-1 )
int get_blend_point_count ( ) const
AnimationRootNode get_blend_point_node ( int point ) const
Vector2 get_blend_point_position ( int point ) const
int get_triangle_count ( ) const
int get_triangle_point ( int triangle, int point )
void remove_blend_point ( int point )
void remove_triangle ( int triangle )
void set_blend_point_node ( int point, AnimationRootNode node )
void set_blend_point_position ( int point, Vector2 pos )

Enumerations

enum BlendMode:

  • BLEND_MODE_INTERPOLATED = 0
  • BLEND_MODE_DISCRETE = 1
  • BLEND_MODE_DISCRETE_CARRY = 2

Property Descriptions

  • bool auto_triangles
Setter set_auto_triangles(value)
Getter get_auto_triangles()
Setter set_blend_mode(value)
Getter get_blend_mode()
Setter set_max_space(value)
Getter get_max_space()
Setter set_min_space(value)
Getter get_min_space()
Setter set_snap(value)
Getter get_snap()
Setter set_x_label(value)
Getter get_x_label()
Setter set_y_label(value)
Getter get_y_label()

Method Descriptions

  • void add_triangle ( int x, int y, int z, int at_index=-1 )
  • int get_blend_point_count ( ) const
  • Vector2 get_blend_point_position ( int point ) const
  • int get_triangle_count ( ) const
  • int get_triangle_point ( int triangle, int point )
  • void remove_blend_point ( int point )
  • void remove_triangle ( int triangle )
  • void set_blend_point_position ( int point, Vector2 pos )