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

Engine.AnimSequence

Extends
Object
Modifiers
native ( Anim ) hidecategories ( Object )

One animation sequence of keyframes. Contains a number of tracks of data. The Outer of AnimSequence is expected to be its AnimSet. Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.

Core.Object
|   
+-- Engine.AnimSequence

Constants Summary
Inherited Contants from Core.Object
DegToRad, INDEX_NONE, MaxInt, Pi, RadToDeg

Variables Summary
array<byte>CompressedByteStream
array<int>CompressedTrackOffsets
intNumFrames
array<RawAnimSequenceTrack>RawAnimData
AnimationCompressionFormatRotationCompressionFormat
array<RotationTrack>RotationData
floatSequenceLength
nameSequenceName
AnimationCompressionFormatTranslationCompressionFormat
array<TranslationTrack>TranslationData
AnimSequence
boolbNoLoopingInterpolation
AnimationCompressionAlgorithmCompressionScheme
array<AnimNotifyEvent>Notifies
floatRateScale
Inherited Variables from Core.Object
Class, HashNext, HashOuterNext, Linker, LinkerIndex, Name, NetIndex, ObjectArchetype, ObjectFlags, ObjectInternalInteger, Outer, StateFrame, VfTableObject

Enumerations Summary
AnimationCompressionFormat
ACF_None, ACF_Float96NoW, ACF_Fixed48NoW, ACF_IntervalFixed32NoW, ACF_Fixed32NoW, ACF_Float32NoW,
Inherited Enumerations from Core.Object
EAxis, EInputEvent, EInterpCurveMode, EInterpMethodType, ETickingGroup

Structures Summary
AnimNotifyEvent
Time, Notify, Comment
CompressedTrack
ByteStream, Times, Mins[3], Ranges[3]
RawAnimSequenceTrack
PosKeys, RotKeys, KeyTimes
RotationTrack
RotKeys, Times
TranslationTrack
PosKeys, Times
Inherited Structures from Core.Object
Box, BoxSphereBounds, Color, Cylinder, double, DynamicMap_Mirror, Guid, IndirectArray_Mirror, InterpCurveFloat, InterpCurvePointFloat, InterpCurvePointQuat, InterpCurvePointTwoVectors, InterpCurvePointVector, InterpCurvePointVector2D, InterpCurveQuat, InterpCurveTwoVectors, InterpCurveVector, InterpCurveVector2D, IntPoint, LinearColor, Map_Mirror, Matrix, MultiMap_Mirror, Plane, pointer, Quat, qword, RawDistribution, RenderCommandFence, Rotator, TextureMipBulkData_Mirror, ThreadSafeCounter, TPOV, TwoVectors, UntypedBulkData_Mirror, Vector, Vector2D, Vector4

Functions Summary
Inherited Functions from Core.Object
!, !=, $, $=, %, &, &&, *, **, *=, +, ++, +=, -, --, -=, / , /=, <, <<, <=, ==, >, >=, >>, >>>, @, @=, Abs, Acos, Asc, Asin, Atan, BeginState, ByteToFloat, Caps, Chr, Clamp, ClampLength, ClampRotAxis, ClassIsChildOf, ClearConfig, ClockwiseFrom, ColorToLinearColor, ContinuedState, Cos, Cross, Disable, Dot, DumpStateStack, DynamicLoadObject, Enable, EndState, Exp, FClamp, FCubicInterp, FindDeltaAngle, FindObject, FInterpEaseIn, FInterpEaseInOut, FInterpEaseOut, FInterpTo, FloatToByte, FMax, FMin, FPctByRange, FRand, GetAngularDegreesFromRadians, GetAngularDistance, GetAngularFromDotDist, GetAxes, GetDotDistance, GetEnum, GetFuncName, GetHeadingAngle, GetNetFuncName, GetPackageName, GetPerObjectConfigSections, GetRangePctByValue, GetRangeValueByPct, GetSpecialValue, GetStateName, GetUnAxes, GotoState, InStr, IsA, IsChildState, IsInState, IsNetScript, IsPendingKill, IsUTracing, IsZero, JoinArray, Left, Len, Lerp, Localize, Locs, Loge, LogInternal, MakeColor, MakeLinearColor, Max, Mid, Min, MirrorVectorByNormal, Normal, Normalize, NormalizeRotAxis, OrthoRotation, ParseStringIntoArray, PathName, PausedState, PointDistToLine, PointDistToPlane, PointInBox, PoppedState, PopState, ProjectOnTo, PushedState, PushState, QuatDot, QuatFindBetween, QuatFromAxisAndAngle, QuatFromRotator, QuatInvert, QuatProduct, QuatRotateVector, QuatSlerp, QuatToRotator, Rand, RandRange, RDiff, Repl, Right, RInterpTo, RLerp, RotRand, Round, RSize, RSmerp, SaveConfig, SClampRotAxis, ScriptTrace, SetSpecialValue, SetUTracing, Sin, Split, Sqrt, Square, StaticClearConfig, StaticSaveConfig, Tan, TimeStamp, ToHex, TransformVectorByRotation, UnwindHeading, vect2d, VInterpTo, VLerp, VRand, VSize, VSize2D, VSizeSq, VSizeSq2D, VSmerp, WarnInternal, ^, ^^, |, ||, ~, ~=


Variables Detail

CompressedByteStream Source code

var native array<byte> CompressedByteStream;
ByteStream for compressed animation data. All keys are currently stored at evenly-spaced intervals (ie no explicit key times). For a translation track of n keys, data is packed as n uncompressed float[3]: For a rotation track of n>1 keys, the first 24 bytes are reserved for compression info (eg Fixed32 stores float Mins[3]; float Ranges[3]), followed by n elements of the compressed type. For a rotation track of n=1 keys, the single key is packed as an FQuatFloat96NoW.

CompressedTrackOffsets Source code

var array<int> CompressedTrackOffsets;
An array of 4*NumTrack ints, arranged as follows: [0] Trans0.Offset [1] Trans0.NumKeys [2] Rot0.Offset [3] Rot0.NumKeys [4] Trans1.Offset . . .

NumFrames Source code

var int NumFrames;
Number of raw frames in this sequence (not used by engine - just for informational purposes).

RawAnimData Source code

var const array<RawAnimSequenceTrack> RawAnimData;
Raw uncompressed keyframe data.

RotationCompressionFormat Source code

var const AnimationCompressionFormat RotationCompressionFormat;
The compression format that was used to compress rotation tracks.

RotationData Source code

var transient const array<RotationTrack> RotationData;
Rotation data post keyframe reduction. RotationData.Num() is zero if keyframe reduction has not yet been applied.

SequenceLength Source code

var float SequenceLength;
Length (in seconds) of this AnimSequence if played back with a speed of 1.0.

SequenceName Source code

var name SequenceName;
Name of the animation sequence. Used in AnimNodeSequence.

TranslationCompressionFormat Source code

var const AnimationCompressionFormat TranslationCompressionFormat;
The compression format that was used to compress translation tracks.

TranslationData Source code

var transient const array<TranslationTrack> TranslationData;
Translation data post keyframe reduction. TranslationData.Num() is zero if keyframe reduction has not yet been applied.

AnimSequence

bNoLoopingInterpolation Source code

var(AnimSequence) bool bNoLoopingInterpolation;
if TRUE, disable interpolation between last and first frame when looping.

CompressionScheme Source code

var(AnimSequence) editinline editconst editoronly AnimationCompressionAlgorithm CompressionScheme;
The compression scheme that was most recently used to compress this animation. May be NULL.

Notifies Source code

var(AnimSequence) editinline array<AnimNotifyEvent> Notifies;
Animation notifies, sorted by time (earliest notification first).

RateScale Source code

var(AnimSequence) float RateScale;
Number for tweaking playback rate of this animation globally.


Enumerations Detail

AnimationCompressionFormat Source code

enum AnimationCompressionFormat
{
ACF_None, ACF_Float96NoW, ACF_Fixed48NoW, ACF_IntervalFixed32NoW, ACF_Fixed32NoW, ACF_Float32NoW,
};
Indicates animation data compression format.


Structures Detail

AnimNotifyEvent Source code

struct AnimNotifyEvent
{
var(AnimSequence) name Comment;
var(AnimSequence) editinline AnimNotify Notify;
var(AnimSequence) float Time;
};


CompressedTrack Source code

struct CompressedTrack
{
var array<byte> ByteStream;
var float Mins[3];
var float Ranges[3];
var array<float> Times;
};


RawAnimSequenceTrack Source code

struct RawAnimSequenceTrack
{
var array<float> KeyTimes;
var array<vector> PosKeys;
var array<quat> RotKeys;
};
Raw keyframe data for one track. Each array will contain either NumKey elements or 1 element. One element is used as a simple compression scheme where if all keys are the same, they'll be reduced to 1 key that is constant over the entire sequence.
KeyTimes:
Key times, in seconds.
PosKeys:
Position keys.
RotKeys:
Rotation keys.

RotationTrack Source code

struct RotationTrack
{
var array<quat> RotKeys;
var array<float> Times;
};
Keyframe rotation data for one track. Rot(i) occurs at Time(i). Rot.Num() always equals Time.Num().

TranslationTrack Source code

struct TranslationTrack
{
var array<vector> PosKeys;
var array<float> Times;
};
Keyframe position data for one track. Pos(i) occurs at Time(i). Pos.Num() always equals Time.Num().


Defaultproperties

defaultproperties
{
   RateScale=1.000000
   Name="Default__AnimSequence"
   ObjectArchetype=Object'Core.Default__Object'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: sk 18-3-2018 10:00:35.116 - Created with UnCodeX