37 lines
901 B
Ucode
37 lines
901 B
Ucode
//=============================================================================
|
|
// CurveEdPresetCurve
|
|
// A preset curve data object
|
|
// Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.
|
|
//=============================================================================
|
|
class CurveEdPresetCurve extends object
|
|
native
|
|
hidecategories(Object)
|
|
editinlinenew
|
|
;
|
|
|
|
/** Preset Generated Point */
|
|
struct native PresetGeneratedPoint
|
|
{
|
|
var float KeyIn;
|
|
var float KeyOut;
|
|
var bool TangentsValid;
|
|
var float TangentIn;
|
|
var float TangentOut;
|
|
var EInterpCurveMode IntepMode;
|
|
};
|
|
|
|
/** Name of the curve */
|
|
var() localized string CurveName;
|
|
|
|
/** The points of the curve */
|
|
var array<PresetGeneratedPoint> Points;
|
|
|
|
cpptext
|
|
{
|
|
UBOOL StoreCurvePoints(INT CurveIndex, FCurveEdInterface* Distribution);
|
|
}
|
|
|
|
defaultproperties
|
|
{
|
|
}
|