Class ACAnimationSettings
Extra settings attached to an ACAnimation
Inheritance
object
ACAnimationSettings
Namespace: ACLightweightAnimator.Core
Assembly: cs.temp.dll.dll
Syntax
public class ACAnimationSettings : ISerializationCallbackReceiver
Fields
BlendMode
defines how the animation will blend with other animations on the same Layer
Declaration
public AnimationBlendMode BlendMode
Field Value
Type | Description |
---|---|
AnimationBlendMode |
IsReversed
if set to true, the animation will play in reverse. if not, it will not.
Declaration
public bool IsReversed
Field Value
Type | Description |
---|---|
bool |
Layer
Layers on which to play the animation
Declaration
public ACAnimationLayer Layer
Field Value
Type | Description |
---|---|
ACAnimationLayer |
ResetIfPlayedTwice
if set to true, calling PlayAnimation()
on this animation while it's still playing will reset to start
else it will not replay the animation if it's already being played
Declaration
public bool ResetIfPlayedTwice
Field Value
Type | Description |
---|---|
bool |
Speed
the playback speed of the animation
Declaration
public float Speed
Field Value
Type | Description |
---|---|
float |
Weight
defines the weight of the animation, compared to other animations on the same Layer
Declaration
public float Weight
Field Value
Type | Description |
---|---|
float |
WrapModeOverride
overrides the WarpMode set in the animation, to activate looping, ping-pong, etc...
Declaration
public WrapMode WrapModeOverride
Field Value
Type | Description |
---|---|
WrapMode |