I'm a doctor, not a mechanic
UE3:AnimNodePlayCustomAnim (UT3)
Object >> AnimNode >> AnimNodeBlendBase >> AnimNodeBlend >> AnimNodePlayCustomAnim |
Contents
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Gives code control to override an AnimTree branch, with a custom animation. . Normal branch is the normal tree branch (for example Human upper body). . Custom branch must be connected to an AnimNodeSequence. This node can then take over the upper body to play a cutom animation given various parameters.
Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.
Properties[edit]
bIsPlayingCustomAnim[edit]
Type: bool
True, when we're playing a custom animation
CustomPendingBlendOutTime[edit]
Type: float
save blend out time when playing a one shot animation.
Default values[edit]
Property | Value | ||||
---|---|---|---|---|---|
Children[0] |
|
||||
Children[1] |
|
||||
NodeName | 'CustomAnim' |
Functions[edit]
Native functions[edit]
PlayCustomAnim[edit]
Play a custom animation. Supports many features, including blending in and out.
Parameters:
- AnimName - Name of animation to play.
- Rate - Rate animation should be played at.
- BlendInTime - Blend duration to play anim.
- BlendOutTime - Time before animation ends (in seconds) to blend out. -1.f means no blend out. 0.f = instant switch, no blend. otherwise it's starting to blend out at AnimDuration - BlendOutTime seconds.
- bLooping - Should the anim loop? (and play forever until told to stop)
- bOverride - play same animation over again only if bOverride is set to true.
Returns:
- PlayBack length of animation.
PlayCustomAnimByDuration[edit]
Play a custom animation. Auto adjusts the animation's rate to match a given duration in seconds. Supports many features, including blending in and out.
Parameters:
- AnimName - Name of animation to play.
- Duration - duration in seconds the animation should be played.
- BlendInTime - Blend duration to play anim.
- BlendOutTime - Time before animation ends (in seconds) to blend out. -1.f means no blend out. 0.f = instant switch, no blend. otherwise it's starting to blend out at AnimDuration - BlendOutTime seconds.
- bLooping - Should the anim loop? (and play forever until told to stop)
- bOverride - play same animation over again only if bOverride is set to true.
StopCustomAnim[edit]
Stop playing a custom animation. Used for blending out of a looping custom animation.
Other instance functions[edit]
GetCustomAnimNodeSeq[edit]
Returns AnimNodeSequence playing the custom animation
SetActorAnimEndNotification[edit]
Set bCauseActorAnimEnd flag
SetCustomAnim[edit]
Set Custom animation.
SetRootBoneAxisOption[edit]
Set custom animation root bone options.