AnimationTree
A node used for advanced animation transitions in an AnimationPlayer
.
class AnimationTree
A node used for advanced animation transitions in an AnimationPlayer
.
This object emits the following signals:
Superclasses
class AnimationMixer
Base class for
AnimationPlayer
andAnimationTree
.
Citizens in SwiftGodot
Conformances
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol Identifiable<ID>
A class of types whose instances hold the value of an entity with stable identity.
protocol VariantRepresentable
Types that conform to VariantRepresentable can be stored directly in
Variant
with no conversion. These include all of the Variant types from Godot (for exampleGString
,Rect
,Plane
), Godot objects (those that subclass SwiftGodot.Object) as well as the built-in Swift types UInt8, Int64 and Double.protocol VariantStorable
Types that conform to VariantStorable can be stored in a Variant and can be extracted back out of a Variant.
Types
Type members
Instance members
var advanceExpressionBaseNode: NodePath
The path to the
Node
used to evaluate theAnimationNode
Expression
if one is not explicitly specified internally.var animPlayer: NodePath
The path to the
AnimationPlayer
used for animating.var animationPlayerChanged: SimpleSignal
Emitted when the
animPlayer
is changed.var treeRoot: AnimationRootNode?
The root animation node of this
AnimationTree
. SeeAnimationRootNode
.func getProcessCallback(
) -> AnimationTree.AnimationProcessCallback For backward compatibility. See
AnimationMixer.AnimationCallbackModeProcess
.func setProcessCallback(mode: AnimationTree.AnimationProcessCallback
) For backward compatibility. See
AnimationMixer.AnimationCallbackModeProcess
.