.. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the AnimationNodeBlendSpace2D.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_AnimationNodeBlendSpace2D: AnimationNodeBlendSpace2D ========================= **Inherits:** :ref:`AnimationRootNode` **<** :ref:`AnimationNode` **<** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Properties ---------- +------------------------------------------------------------+--------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`auto_triangles` | +------------------------------------------------------------+--------------------------------------------------------------------------------+ | :ref:`BlendMode` | :ref:`blend_mode` | +------------------------------------------------------------+--------------------------------------------------------------------------------+ | :ref:`Vector2` | :ref:`max_space` | +------------------------------------------------------------+--------------------------------------------------------------------------------+ | :ref:`Vector2` | :ref:`min_space` | +------------------------------------------------------------+--------------------------------------------------------------------------------+ | :ref:`Vector2` | :ref:`snap` | +------------------------------------------------------------+--------------------------------------------------------------------------------+ | :ref:`String` | :ref:`x_label` | +------------------------------------------------------------+--------------------------------------------------------------------------------+ | :ref:`String` | :ref:`y_label` | +------------------------------------------------------------+--------------------------------------------------------------------------------+ Methods ------- +---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`add_blend_point` **(** :ref:`AnimationRootNode` node, :ref:`Vector2` pos, :ref:`int` at_index=-1 **)** | +---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`add_triangle` **(** :ref:`int` x, :ref:`int` y, :ref:`int` z, :ref:`int` at_index=-1 **)** | +---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_blend_point_count` **(** **)** const | +---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`AnimationRootNode` | :ref:`get_blend_point_node` **(** :ref:`int` point **)** const | +---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Vector2` | :ref:`get_blend_point_position` **(** :ref:`int` point **)** const | +---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_triangle_count` **(** **)** const | +---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_triangle_point` **(** :ref:`int` triangle, :ref:`int` point **)** | +---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`remove_blend_point` **(** :ref:`int` point **)** | +---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`remove_triangle` **(** :ref:`int` triangle **)** | +---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_blend_point_node` **(** :ref:`int` point, :ref:`AnimationRootNode` node **)** | +---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_blend_point_position` **(** :ref:`int` point, :ref:`Vector2` pos **)** | +---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ Enumerations ------------ .. _enum_AnimationNodeBlendSpace2D_BlendMode: .. _class_AnimationNodeBlendSpace2D_constant_BLEND_MODE_INTERPOLATED: .. _class_AnimationNodeBlendSpace2D_constant_BLEND_MODE_DISCRETE: .. _class_AnimationNodeBlendSpace2D_constant_BLEND_MODE_DISCRETE_CARRY: enum **BlendMode**: - **BLEND_MODE_INTERPOLATED** = **0** - **BLEND_MODE_DISCRETE** = **1** - **BLEND_MODE_DISCRETE_CARRY** = **2** Property Descriptions --------------------- .. _class_AnimationNodeBlendSpace2D_property_auto_triangles: - :ref:`bool` **auto_triangles** +----------+---------------------------+ | *Setter* | set_auto_triangles(value) | +----------+---------------------------+ | *Getter* | get_auto_triangles() | +----------+---------------------------+ .. _class_AnimationNodeBlendSpace2D_property_blend_mode: - :ref:`BlendMode` **blend_mode** +----------+-----------------------+ | *Setter* | set_blend_mode(value) | +----------+-----------------------+ | *Getter* | get_blend_mode() | +----------+-----------------------+ .. _class_AnimationNodeBlendSpace2D_property_max_space: - :ref:`Vector2` **max_space** +----------+----------------------+ | *Setter* | set_max_space(value) | +----------+----------------------+ | *Getter* | get_max_space() | +----------+----------------------+ .. _class_AnimationNodeBlendSpace2D_property_min_space: - :ref:`Vector2` **min_space** +----------+----------------------+ | *Setter* | set_min_space(value) | +----------+----------------------+ | *Getter* | get_min_space() | +----------+----------------------+ .. _class_AnimationNodeBlendSpace2D_property_snap: - :ref:`Vector2` **snap** +----------+-----------------+ | *Setter* | set_snap(value) | +----------+-----------------+ | *Getter* | get_snap() | +----------+-----------------+ .. _class_AnimationNodeBlendSpace2D_property_x_label: - :ref:`String` **x_label** +----------+--------------------+ | *Setter* | set_x_label(value) | +----------+--------------------+ | *Getter* | get_x_label() | +----------+--------------------+ .. _class_AnimationNodeBlendSpace2D_property_y_label: - :ref:`String` **y_label** +----------+--------------------+ | *Setter* | set_y_label(value) | +----------+--------------------+ | *Getter* | get_y_label() | +----------+--------------------+ Method Descriptions ------------------- .. _class_AnimationNodeBlendSpace2D_method_add_blend_point: - void **add_blend_point** **(** :ref:`AnimationRootNode` node, :ref:`Vector2` pos, :ref:`int` at_index=-1 **)** .. _class_AnimationNodeBlendSpace2D_method_add_triangle: - void **add_triangle** **(** :ref:`int` x, :ref:`int` y, :ref:`int` z, :ref:`int` at_index=-1 **)** .. _class_AnimationNodeBlendSpace2D_method_get_blend_point_count: - :ref:`int` **get_blend_point_count** **(** **)** const .. _class_AnimationNodeBlendSpace2D_method_get_blend_point_node: - :ref:`AnimationRootNode` **get_blend_point_node** **(** :ref:`int` point **)** const .. _class_AnimationNodeBlendSpace2D_method_get_blend_point_position: - :ref:`Vector2` **get_blend_point_position** **(** :ref:`int` point **)** const .. _class_AnimationNodeBlendSpace2D_method_get_triangle_count: - :ref:`int` **get_triangle_count** **(** **)** const .. _class_AnimationNodeBlendSpace2D_method_get_triangle_point: - :ref:`int` **get_triangle_point** **(** :ref:`int` triangle, :ref:`int` point **)** .. _class_AnimationNodeBlendSpace2D_method_remove_blend_point: - void **remove_blend_point** **(** :ref:`int` point **)** .. _class_AnimationNodeBlendSpace2D_method_remove_triangle: - void **remove_triangle** **(** :ref:`int` triangle **)** .. _class_AnimationNodeBlendSpace2D_method_set_blend_point_node: - void **set_blend_point_node** **(** :ref:`int` point, :ref:`AnimationRootNode` node **)** .. _class_AnimationNodeBlendSpace2D_method_set_blend_point_position: - void **set_blend_point_position** **(** :ref:`int` point, :ref:`Vector2` pos **)**