AnimationNodeBlendTree

AnimationTree node resource that contains many blend type nodes.

This node may contain a sub-tree of any other blend type nodes, such as mix, blend2, blend3, one shot, etc. This is one of the most commonly used roots.

Members

Aliases

BaseClasses
alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses)
Undocumented in source.

Enums

Constants
enum Constants

Functions

_nodeChanged
void _nodeChanged(String node)
_treeChanged
void _treeChanged()
addNode
void addNode(String name, AnimationNode node, Vector2 position)

Adds an AnimationNode at the given position. The name is used to identify the created sub-node later.

connectNode
void connectNode(String input_node, long input_index, String output_node)

Connects the output of an AnimationNode as input for another AnimationNode, at the input port specified by input_index.

disconnectNode
void disconnectNode(String input_node, long input_index)

Disconnects the node connected to the specified input.

getGraphOffset
Vector2 getGraphOffset()
getNode
Ref!AnimationNode getNode(String name)

Returns the sub-node with the specified name.

getNodePosition
Vector2 getNodePosition(String name)

Returns the position of the sub-node with the specified name.

hasNode
bool hasNode(String name)

Returns true if a sub-node with specified name exists.

opAssign
typeof(null) opAssign(typeof(null) n)
opEquals
bool opEquals(AnimationNodeBlendTree other)
opEquals
bool opEquals(typeof(null) n)
removeNode
void removeNode(String name)

Removes a sub-node.

renameNode
void renameNode(String name, String new_name)

Changes the name of a sub-node.

setGraphOffset
void setGraphOffset(Vector2 offset)
setNodePosition
void setNodePosition(String name, Vector2 position)

Modifies the position of a sub-node.

toHash
size_t toHash()

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

graphOffset
Vector2 graphOffset [@property getter]
Vector2 graphOffset [@property setter]

The global offset of all sub-nodes.

Static functions

_new
AnimationNodeBlendTree _new()

Construct a new instance of AnimationNodeBlendTree. Note: use memnew!AnimationNodeBlendTree instead.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

GDNativeClassBinding
struct GDNativeClassBinding
Undocumented in source.

Unions

__anonymous
union __anonymous
Undocumented in source.

Variables

_GODOT_internal_name
enum string _GODOT_internal_name;
Undocumented in source.

Mixed In Members

From mixin baseCasts

as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(ToRef) as()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(ToRef)
Undocumented in source.
opCast
void* opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
godot_object opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta