MixBlend enum
Controls how timeline values are mixed with setup pose values or current pose values when a timeline is applied with
alpha
< 1.
Values
- setup → const MixBlend
-
Transitions from the setup value to the timeline value (the current value is not used). Before the first frame, the setup value is set.
const MixBlend(0)
- first → const MixBlend
-
Transitions from the current value to the timeline value. Before the first frame, transitions from the current value to the setup value. Timelines which perform instant transitions, such as {@link DrawOrderTimeline} or {@link AttachmentTimeline}, use the setup value before the first frame.
first
is intended for the first animations applied, not for animations layered on top of those.const MixBlend(1)
- replace → const MixBlend
-
Transitions from the current value to the timeline value. No change is made before the first frame (the current value is kept until the first frame).
replace
is intended for animations layered on top of others, not for the first animations applied.const MixBlend(2)
- add → const MixBlend
-
Transitions from the current value to the current value plus the timeline value. No change is made before the first frame (the current value is kept until the first frame).
add
is intended for animations layered on top of others, not for the first animations applied. Properties set by additive animations must be set manually or by another animation before applying the additive animations, else the property values will increase each time the additive animations are applied.const MixBlend(3)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited