AnimationNodeBlendSpace1D

Inherits: AnimationRootNode < AnimationNode < Resource < Reference < Object AnimationNode of any type placed on a virtual axis.

Description

AnimationNodeBlendTree. AnimationNode using add_blend_point. AnimationNodes closest to the node’s current value. min_space and max_space.

Tutorials

  • 使用 AnimationTree

    Properties

    Methods

    Property Descriptions

  • float max_space add_blend_point.

  • float min_space add_blend_point.

  • float snap Position increment to snap to when moving a point on the axis.

  • String value_label Label of the virtual axis of the blend space.

    Method Descriptions

  • add_blend_point ( AnimationRootNode node, float pos, int at_index=-1 ) node on the virtual axis at a given position set by pos. You can insert it at a specific index using the at_index argument. If you use the default value for at_index, the point is inserted at the end of the blend points array.

  • int get_blend_point_count ( ) const Returns the number of points on the blend axis.

  • AnimationRootNode get_blend_point_node ( int point ) const AnimationNode referenced by the point at index point.

  • float get_blend_point_position ( int point ) const point.

  • remove_blend_point ( int point ) point from the blend axis.

  • set_blend_point_node ( int point, AnimationRootNode node ) AnimationNode referenced by the point at index point.

  • set_blend_point_position ( int point, float pos ) point on the blend axis.