I'm a doctor, not a mechanic

UE3:CameraAnimInst (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UDK Object >> CameraAnimInst
Package: 
Engine
This class in other games:
UT3

CameraAnim: defines a pre-packaged animation to be played on a camera.

Properties

BasePlayScale

Type: float

"Intensity" scalar. This is the scale at which the anim was first played.

bAutoReleaseWhenFinished

Type: bool

Modifiers: transient

True if it's ok for the system to auto-release this instance upon completion.

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

Modifiers: transient


MoveTrack

Type: InterpTrackMove

Modifiers: transient

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

PlaySpace

Type: Camera.ECameraAnimPlaySpace

Modifiers: protectedwrite


RemainingTime

Type: float

Modifiers: protected, transient

How much longer to play the anim, if a specific duration is desired. Has no effect if 0.

SourceAnimNode

Type: AnimNodeSequence

Modifiers: protected, transient

Ref to the AnimNodeSequence that's instigating this anim. Can be None.

TransientScaleModifier

Type: float

A supplemental scale factor, allowing external systems to scale this anim as necessary. This is reset to 1.f each frame.

Default value: 1.0

UserPlaySpaceMatrix

Type: Object.Matrix

Modifiers: transient

The user-defined space for CAPS_UserDefined

Subobjects

InterpGroupInst0

Class: Engine.InterpGroupInst

No new values.

Native functions

AdvanceAnim

native final function AdvanceAnim (float DeltaTime, bool bJump)

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

ApplyTransientScaling

native final function ApplyTransientScaling (float Scalar)

Applies given scaling factor to the playing animation for the next update only.

Play

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

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; Duration: optional specific playtime for this animation. This is total time, including blends.

SetPlaySpace

native final function SetPlaySpace (Camera.ECameraAnimPlaySpace NewSpace, optional Object.Rotator UserPlaySpace)

Sets this anim to play in an alternate playspace

Stop

native final function Stop (optional bool bImmediate)

Stops this instance playing whatever animation it is playing.

Update

native final function Update (float NewRate, float NewScale, float NewBlendInTime, float NewBlendOutTime, optional float NewDuration)

Update this instance with new parameters.