UE3:CameraAnimInst (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
UT3 Object >> CameraAnimInst
Package:
Engine
This class in other games:

CameraAnim: defines a pre-packaged animation to be played on a camera. Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.

Properties

bBlendingIn

Type: bool

Modifiers: protected, transient

True if currently blending in.

bBlendingOut

Type: bool

Modifiers: protected, transient

True if currently blending out.

bFinished

Type: bool

Modifiers: transient

True if the animation has finished, false otherwise.

BlendInTime

Type: float

Modifiers: protected

Time to interpolate in from zero, for smooth starts.

BlendOutTime

Type: float

Modifiers: protected

Time to interpolate out to zero, for smooth finishes.

bLooping

Type: bool

Modifiers: protected, transient

True if the animation should loop, false otherwise.

CamAnim

Type: CameraAnim

which CameraAnim this is an instance of

CurBlendInTime

Type: float

Modifiers: protected, transient

Current time for the blend-in. I.e. how long we have been blending.

CurBlendOutTime

Type: float

Modifiers: protected, transient

Current time for the blend-out. I.e. how long we have been blending.

CurrentBlendWeight

Type: float


CurTime

Type: float

Modifiers: protected, transient

Current time for the animation

InterpGroupInst

Type: InterpGroupInst

Modifiers: protected, instanced

the InterpGroupInst used to do the interpolation

Default value: InterpGroupInst'Engine.Default__CameraAnimInst:InterpGroupInst0'

MoveInst

Type: InterpTrackInstMove


MoveTrack

Type: InterpTrackMove

cached movement track from the currently playing anim so we don't have to go find it every frame

PlayRate

Type: float

Modifiers: protected

Multiplier for playback rate. 1.0 = normal.

Default value: 1.0

PlayScale

Type: float

"Intensity" scalar.

Subobjects

InterpGroupInst0

Class: Engine.InterpGroupInst

No new values.

Native functions

AdvanceAnim

native function AdvanceAnim (float DeltaTime, bool bJump)

advances the animation by the specified time - updates any modified interp properties, moves the group actor, etc

Play

native final function Play (CameraAnim Anim, Actor CamActor, float InRate, float InScale, float InBlendInTime, float InBlendOutTime, bool bInLoop, bool bRandomStartTime)

Starts 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

native final function Stop (optional bool bImmediate)

Stops this instance playing whatever animation it is playing.