/** * Copyright 1998-2013 Epic Games, Inc. All Rights Reserved. */ class AnimNotify extends Object native(Anim) abstract editinlinenew hidecategories(Object) collapsecategories; /** Color of Notify in editor */ var editoronly Color NotifyColor; cpptext { // AnimNotify interface. virtual void Notify( class UAnimNodeSequence* NodeSeq ) {} virtual void NotifyTick( class UAnimNodeSequence* NodeSeq, FLOAT AnimCurrentTime, FLOAT AnimTimeStep, FLOAT InTotalDuration ) {} virtual void NotifyEnd( class UAnimNodeSequence* NodeSeq, FLOAT AnimCurrentTime ) {} virtual FString GetEditorComment() { return TEXT(""); } virtual FColor GetEditorColor() { #if WITH_EDITORONLY_DATA return NotifyColor; #else return FColor( 0 ); #endif // WITH_EDITORONLY_DATA } /** * Called by the AnimSet viewer when the 'parent' FAnimNotifyEvent is edited. * * @param NodeSeq The AnimNodeSequence this notify is associated with. * @param OwnerEvent The FAnimNotifyEvent that 'owns' this AnimNotify. */ virtual void AnimNotifyEventChanged(class UAnimNodeSequence* NodeSeq, FAnimNotifyEvent* OwnerEvent) {} } simulated function bool FindNextNotifyOfClass(AnimNodeSequence AnimSeqInstigator, class NotifyClass, out AnimNotifyEvent OutEvent) { local AnimSequence Seq; local int i; local bool bFoundThis; if(AnimSeqInstigator.AnimSeq != None) { // we look through the notifies to find the end that corresponds to this start Seq = AnimSeqInstigator.AnimSeq; for(i=0; i