AnimationNodeAnimation
An input animation for an AnimationNodeBlendTree
.
class AnimationNodeAnimation
A resource to add to an AnimationNodeBlendTree
. Only has one output port using the animation
property. Used as an input for AnimationNode
s that blend animations together.
Superclasses
class AnimationRootNode
Base class for
AnimationNode
s that hold one or multiple composite animations. Usually used fortreeRoot
.
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 animation: StringName
Animation to use as an output. It is one of the animations provided by
animPlayer
.var loopMode: Animation.LoopMode
If
useCustomTimeline
istrue
, override the loop settings of the originalAnimation
resource with the value.var playMode: AnimationNodeAnimation.PlayMode
Determines the playback direction of the animation.
var startOffset: Double
If
useCustomTimeline
istrue
, offset the start position of the animation.var stretchTimeScale: Bool
If
true
, scales the time so that the length specified intimelineLength
is one cycle.var timelineLength: Double
If
useCustomTimeline
istrue
, offset the start position of the animation.var useCustomTimeline: Bool
If
true
,AnimationNode
provides an animation based on theAnimation
resource with some parameters adjusted.