Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 00037 00038 00039 00040 00041 00042 00043 00044 00045 00046 00047 00048 00049 00050 00051 00052 00053 00054 00055 00056 00057 00058 00059 00060 00061 00062 00063 00064 00065 00066 00067 00068 00069 00070 00071 00072 00073 |
/** * Copyright 1998-2011 Epic Games, Inc. All Rights Reserved. * * Animation Node used to synch childs. * Would be typically used to synch several walk/run/crouch cycles together. * * This node works by using the most relevant node in the final blend as the master node, * to update all the others (slaves). * This requires all cycles to be relatively synched (i.e. left foot is down on all cycles at 0.25% of the animation, regarless of its length). */ class AnimNodeSynch extends AnimNodeBlendBase native(Anim); /** definition of a group of AnimNodeSequence to synchronize together */ struct native SynchGroup { /** Cached array of anim node sequence nodes to synchronize */ var Array<AnimNodeSequence> SeqNodes; /** Last master node used, do not search for a new one, if this one has a full weight... */ var transient AnimNodeSequence MasterNode; /** Name of group. */ var() Name GroupName; /** If FALSE, do not trigger slave nodes notifies. */ var() bool bFireSlaveNotifies; /** Rate Scale */ var() float RateScale; structdefaultproperties { RateScale=1.f } }; /** List of groups to synchronize */ var() Array<SynchGroup> Groups; cpptext { virtual void InitAnim(USkeletalMeshComponent* MeshComp, UAnimNodeBlendBase* Parent); virtual void TickAnim(FLOAT DeltaSeconds); void UpdateMasterNodeForGroup(FSynchGroup& SynchGroup); void RepopulateGroups(); } /** Add a node to an existing group */ native final function AddNodeToGroup(AnimNodeSequence SeqNode, Name GroupName); /** Remove a node from an existing group */ native final function RemoveNodeFromGroup(AnimNodeSequence SeqNode, Name GroupName); /** Accesses the Master Node driving a given group */ native final function AnimNodeSequence GetMasterNodeOfGroup(Name GroupName); /** Force a group at a relative position. */ native final function ForceRelativePosition(Name GroupName, FLOAT RelativePosition); /** Get the relative position of a group. */ native final function float GetRelativePosition(Name GroupName); /** Adjust the Rate Scale of a group */ native final function SetGroupRateScale(Name GroupName, FLOAT NewRateScale); defaultproperties { Children(0)=(Name="Input",Weight=1.0) bFixNumChildren=TRUE } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |