Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation
previous class next class | frames no frames

# Gameplay.AnimationLayer

00001 00002 00003 00004 00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041

    class AnimationLayer extends Core.DeleteableObject native;

    var AnimationState currentAnimationState;       // current animation state
    var int alertnessLevel;                         // alertness level of this layer

    var int baseIndex;                              // base channel index where layer is placed

    var AnimationInterpolator primaryAlpha;         // primary alpha for this layer (scales all other alphas)

    var AnimationInterpolator centerAlpha;          // center animation alpha
    var AnimationInterpolator forwardAlpha;         // forward animation alpha
    var AnimationInterpolator backAlpha;            // back animation alpha
    var AnimationInterpolator leftAlpha;            // left animation alpha
    var AnimationInterpolator rightAlpha;           // right animation alpha
    var AnimationInterpolator upAlpha;              // up animation alpha
    var AnimationInterpolator downAlpha;            // down animation alpha

    var bool firstUpdate;                           // true if first layer update
    var bool redundant;                             // true if layer is redundant (zero alpha)

    var bool dominant;                              // true if dominant layer (animation notifies)

    var bool hurryUp;                               // true if layer is in hurry up mode (blending to zero alpha in 0.1 secs)

    overloaded function construct()
    {
        primaryAlpha = new class'AnimationInterpolator'();
        centerAlpha = new class'AnimationInterpolator'();
        forwardAlpha = new class'AnimationInterpolator'();
        backAlpha = new class'AnimationInterpolator'();
        leftAlpha = new class'AnimationInterpolator'();
        rightAlpha = new class'AnimationInterpolator'();
        upAlpha = new class'AnimationInterpolator'();
        downAlpha = new class'AnimationInterpolator'();
        firstUpdate = true;
        redundant = true;
    }

Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation
previous class next class | frames no frames

Class file time: ne 5.9.2004 15:53:06.000 - Creation time: st 23.5.2018 00:10:42.171 - Created with UnCodeX