home *** CD-ROM | disk | FTP | other *** search
/ Game Level Design / GLDesign.bin / Software / UnrealEngine2Runtime / UE2Runtime-22262001_Demo.exe / Engine / Classes / MatAction.uc < prev    next >
Text File  |  2003-06-23  |  1KB  |  35 lines

  1. //=============================================================================
  2. // MatAction: Base class for Matinee actions.
  3. //=============================================================================
  4.  
  5. class MatAction extends MatObject
  6.     abstract
  7.     native;
  8.  
  9. var()        interpolationpoint    IntPoint;    // The interpolation point that we want to move to/wait at.
  10. var()        string                Comment;    // User can enter a comment here that will appear on the GUI viewport
  11.  
  12. var(Time)    float    Duration;        // How many seconds this action should take
  13.  
  14. var(Sub)    export    editinline    array<MatSubAction>    SubActions;        // Sub actions are actions to perform while the main action is happening
  15.  
  16. var(Path) bool        bSmoothCorner;            // true by default - when one control point is adjusted, other is moved to keep tangents the same
  17. var(Path) vector    StartControlPoint;        // Offset from the current interpolation point
  18. var(Path) vector    EndControlPoint;        // Offset from the interpolation point we're moving to (InPointName)
  19. var(Path) bool        bConstantPathVelocity;
  20. var(Path) float        PathVelocity;
  21.  
  22. var        float        PathLength;
  23.  
  24. var        transient array<vector> SampleLocations;
  25. var        transient float    PctStarting;
  26. var        transient float    PctEnding;
  27. var        transient float    PctDuration;
  28.  
  29. defaultproperties
  30. {
  31.     bSmoothCorner=true
  32.     StartControlPoint=(X=800,Y=800,Z=0)
  33.     EndControlPoint=(X=-800,Y=-800,Z=0)
  34. }
  35.