Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

UnrealEd.InterpTrackHeadTrackingHelper


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
/**
 * Copyright 1998-2011 Epic Games, Inc. All Rights Reserved.
 */

class InterpTrackHeadTrackingHelper extends InterpTrackHelper
	native;

cpptext
{
	/** 
	 * Checks track-dependent criteria prior to adding a new keyframe.
	 * Responsible for any message-boxes or dialogs for selecting key-specific parameters.
	 * Optionally creates/references a key-specific data object to be used in PostCreateKeyframe.
	 *
	 * @param Track		Pointer to the currently selected track.
	 * @param KeyTime	The time that this Key becomes active.
	 * @return			Returns true if this key can be created and false if some 
	 *					criteria is not met (i.e. No related item selected in browser).
	 */
	virtual	UBOOL PreCreateKeyframe( UInterpTrack *Track, FLOAT KeyTime ) const;

	/**
	 * Uses the key-specific data object from PreCreateKeyframe to initialize the newly added key.
	 *
	 * @param Track		Pointer to the currently selected track.
	 * @param KeyIndex	The index of the keyframe that as just added.  This is the index returned by AddKeyframe.
	 */
	virtual void  PostCreateKeyframe( UInterpTrack *Track, INT KeyIndex ) const;
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: to 6-1-2011 07:13:08.000 - Creation time: ti 22-3-2011 19:57:07.181 - Created with UnCodeX