| Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
| previous class next class | frames no frames | |||||
CameraAnim: defines a pre-packaged animation to be played on a camera. Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.
Core.Object | +-- Engine.CameraAnimInst
| Constants Summary |
|---|
| Inherited Contants from Core.Object |
|---|
| DegToRad, INDEX_NONE, MaxInt, Pi, RadToDeg |
| Variables Summary | |
|---|---|
| bool | bBlendingIn |
| bool | bBlendingOut |
| bool | bFinished |
| float | BlendInTime |
| float | BlendOutTime |
| bool | bLooping |
| CameraAnim | CamAnim |
| float | CurBlendInTime |
| float | CurBlendOutTime |
| float | CurrentBlendWeight |
| float | CurTime |
| InterpGroupInst | InterpGroupInst |
| InterpTrackInstMove | MoveInst |
| InterpTrackMove | MoveTrack |
| float | PlayRate |
| float | PlayScale |
| Inherited Variables from Core.Object |
|---|
| Class, HashNext, HashOuterNext, Linker, LinkerIndex, Name, NetIndex, ObjectArchetype, ObjectFlags, ObjectInternalInteger, Outer, StateFrame, VfTableObject |
| Enumerations Summary |
|---|
| Inherited Enumerations from Core.Object |
|---|
| EAxis, EInputEvent, EInterpCurveMode, EInterpMethodType, ETickingGroup |
| Structures Summary |
|---|
| Functions Summary | ||
|---|---|---|
![]() | AdvanceAnim (float DeltaTime, bool bJump) | |
![]() | Play (CameraAnim Anim, Actor CamActor, float InRate, float InScale, float InBlendInTime, float InBlendOutTime, bool bInLoop, bool bRandomStartTime) | |
![]() | Stop (optional bool bImmediate) | |
| Variables Detail |
|---|
True if currently blending in.
True if currently blending out.
True if the animation has finished, false otherwise.
Time to interpolate in from zero, for smooth starts.
Time to interpolate out to zero, for smooth finishes.
True if the animation should loop, false otherwise.
which CameraAnim this is an instance of
Current time for the blend-in. I.e. how long we have been blending.
Current time for the blend-out. I.e. how long we have been blending.
Current time for the animation
the InterpGroupInst used to do the interpolation
cached movement track from the currently playing anim so we don't have to go find it every frame
Multiplier for playback rate. 1.0 = normal.
"Intensity" scalar.
| Functions Detail |
|---|
AdvanceAnim Source codeadvances the animation by the specified time - updates any modified interp properties, moves the group actor, etc
Play Source codeStarts this instance playing the specified CameraAnim. CamAnim: The animation that should play on this instance. CamActor: The Actor that will be modified by this animation. InRate: How fast to play the animation. 1.f is normal. InScale: How intense to play the animation. 1.f is normal. InBlendInTime: Time over which to linearly ramp in. InBlendInTime: Time over which to linearly ramp out. bInLoop: Whether or not to loop the animation. bRandomStartTime: Whether or not to choose a random time to start playing. Only really makes sense for bLoop = TRUE;
Stop Source codeStops this instance playing whatever animation it is playing.
| Defaultproperties |
|---|
defaultproperties { Begin Object Class=InterpGroupInst Name=InterpGroupInst0 ObjName=InterpGroupInst0 Archetype=InterpGroupInst'Engine.Default__InterpGroupInst' Name="InterpGroupInst0" ObjectArchetype=InterpGroupInst'Engine.Default__InterpGroupInst' End Object InterpGroupInst=InterpGroupInst'Engine.Default__CameraAnimInst:InterpGroupInst0' PlayRate=1.000000 Name="Default__CameraAnimInst" ObjectArchetype=Object'Core.Default__Object' } |
| Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
| previous class next class | frames no frames | |||||