1
0
KF2-Dev-Scripts/Engine/Classes/InterpTrackFloatProp.uc

43 lines
1.4 KiB
Ucode
Raw Normal View History

2020-12-13 15:01:13 +00:00
class InterpTrackFloatProp extends InterpTrackFloatBase
native(Interpolation);
/**
* Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.
*/
cpptext
{
/** Returns the property name */
virtual UBOOL GetPropertyName( FName& PropertyNameOut ) const { PropertyNameOut = PropertyName; return TRUE; }
// InterpTrack interface
virtual INT AddKeyframe(FLOAT Time, UInterpTrackInst* TrInst, EInterpCurveMode InitInterpMode);
virtual void UpdateKeyframe(INT KeyIndex, UInterpTrackInst* TrInst);
virtual void PreviewUpdateTrack(FLOAT NewPosition, UInterpTrackInst* TrInst);
virtual void UpdateTrack(FLOAT NewPosition, UInterpTrackInst* TrInst, UBOOL bJump);
/** Get the name of the class used to help out when adding tracks, keys, etc. in UnrealEd.
* @return String name of the helper class.*/
virtual const FString GetEdHelperClassName() const;
virtual class UMaterial* GetTrackIcon() const;
/**
* Reduce Keys within Tolerance
*
* @param bIntervalStart start of the key to reduce
* @param bIntervalEnd end of the key to reduce
* @param Tolerance tolerance
*/
virtual void ReduceKeys( FLOAT IntervalStart, FLOAT IntervalEnd, FLOAT Tolerance );
}
/** Name of property in Group Actor which this track mill modify over time. */
var() editconst name PropertyName;
defaultproperties
{
TrackInstClass=class'Engine.InterpTrackInstFloatProp'
TrackTitle="Float Property"
}