Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

Engine.MatAction


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
//=============================================================================
// MatAction: Base class for Matinee actions.
//=============================================================================

class MatAction extends MatObject
	abstract
	native;

var()		interpolationpoint	IntPoint;	// The interpolation point that we want to move to/wait at.
var()		string				Comment;	// User can enter a comment here that will appear on the GUI viewport

var(Time)	float	Duration;		// How many seconds this action should take

var(Sub)	export	editinline	array<MatSubAction>	SubActions;		// Sub actions are actions to perform while the main action is happening

var(Path) bool		bSmoothCorner;			// true by default - when one control point is adjusted, other is moved to keep tangents the same
var(Path) vector	StartControlPoint;		// Offset from the current interpolation point
var(Path) vector	EndControlPoint;		// Offset from the interpolation point we're moving to (InPointName)
var(Path) bool		bConstantPathVelocity;
var(Path) float		PathVelocity;

var		float		PathLength;

var		/*transient*/ array<vector> SampleLocations;
var		/*transient*/ float	PctStarting;
var		/*transient*/ float	PctEnding;
var		/*transient*/ float	PctDuration;

defaultproperties
{
	bSmoothCorner=true
	StartControlPoint=(X=800.000000,Y=800.000000)
	EndControlPoint=(X=-800.000000,Y=-800.000000)
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: sk 3-1-2016 10:38:40.000 - Creation time: sk 3-1-2016 10:48:40.514 - Created with UnCodeX